<div dir="ltr">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.</div><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 19, 2018 at 1:36 AM Liad Mordekoviz via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hey all,</div><div>There seems to be two conventions for git repo directory layout.<br></div>The official docs suggest the following tree.<br><a href="http://llvm.org/docs/GettingStarted.html#git-mirror" style="color:rgb(17,85,204)" target="_blank">http://llvm.org/docs/GettingStarted.html#git-mirror</a><br></div><br><span style="font-family:monospace,monospace">llvm (llvm repo)</span><br></div></div><span style="font-family:monospace,monospace">  -> tools<br></span></div><span style="font-family:monospace,monospace">      -> clang (clang repo)<br></span></div><span style="font-family:monospace,monospace">      -> lld (lld repo)</span><br></div>etc.<br><div><div><div><div><div><div><br></div><div>However various llvm-project repos, suggest a different layout:<br><a href="https://github.com/llvm-project/llvm-project-20170507" style="color:rgb(17,85,204)" target="_blank">https://github.com/llvm-project/llvm-project-20170507</a><br><a href="https://github.com/chapuni/llvm-project-submodule" style="color:rgb(17,85,204)" target="_blank">https://github.com/chapuni/llvm-project-submodule</a><br></div><div>Also, the official SVN hints at a similar layout (although not strictly the same):<br><a href="http://llvm.org/svn/llvm-project/" style="color:rgb(17,85,204)" target="_blank">http://llvm.org/svn/llvm-project/</a><br><br><div><div><div><div><div><span style="font-family:monospace,monospace">llvm-project</span><br><span style="font-family:monospace,monospace">  -> llvm (llvm repo)<span> </span><br></span></div></div><span style="font-family:monospace,monospace">  -> clang (clang repo)<br></span></div></div><span style="font-family:monospace,monospace">  -> lld (lld repo)</span><br></div>etc.<br><div><div><div><div><div><div><br></div></div></div></div></div></div>It seems like the CMake files support both options.<br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">So we would like to know which of them should be supported for the foreseeable future.</span></div><div><span style="font-size:12.8px">Thanks in advance, Liad.<br></span><div class="m_-8875804504488287324gmail-yj6qo" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"></div><br class="m_-8875804504488287324gmail-Apple-interchange-newline"></div></div></div></div></div></div><br></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>