[llvm-dev] Repo directory layout

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 26 16:22:24 PST 2018

The first layout is older, and the second is newer. Going forward, things
are likely to move around. The second layout is more flexible because it
doesn't put any repo inside another repo, so I would recommend adopting it.
At the very least, using it will put you in a good position to adapt to any
future layout changes.

On Mon, Feb 19, 2018 at 1:36 AM Liad Mordekoviz via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hey all,
> There seems to be two conventions for git repo directory layout.
> The official docs suggest the following tree.
> http://llvm.org/docs/GettingStarted.html#git-mirror
> llvm (llvm repo)
>   -> tools
>       -> clang (clang repo)
>       -> lld (lld repo)
> etc.
> However various llvm-project repos, suggest a different layout:
> https://github.com/llvm-project/llvm-project-20170507
> https://github.com/chapuni/llvm-project-submodule
> Also, the official SVN hints at a similar layout (although not strictly
> the same):
> http://llvm.org/svn/llvm-project/
> llvm-project
>   -> llvm (llvm repo)
>   -> clang (clang repo)
>   -> lld (lld repo)
> etc.
> It seems like the CMake files support both options.
> So we would like to know which of them should be supported for the
> foreseeable future.
> Thanks in advance, Liad.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180227/49f2c8fd/attachment.html>

More information about the llvm-dev mailing list