<div dir="ltr">I have some clue. Clang started as a "side"-project to LLVM and it was easy to grow as a symbiote in the build system of LLVM.<div><br></div><div>To stay on topic, I have one complaint about the single repository and it is that it might slow down efforts to separate all those project into independent build systems. For example, clang-extra-tools still require to be built into clang (probably for the same reason as above).</div><div><br></div><div>I have no idea how to setup the build system of a tool that would require libclang. I never found any pkgconfig nor clang-config utilities for that. Is there any reason?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 9, 2016 at 3:34 PM, Mehdi Amini <span dir="ltr"><<a href="mailto:mehdi.amini@apple.com" target="_blank">mehdi.amini@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><div style="direction:inherit"><br></div></div><div>On Sep 9, 2016, at 7:22 AM, Alexandre Isoard <<a href="mailto:alexandre.isoard@gmail.com" target="_blank">alexandre.isoard@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">What I never understood is that Clang depends on LLVM (and LLVM doesn't depends on Clang), yet Clang source code is more or less expected to be in the LLVM source tree where I would have expected the reverse, that is LLVM in the source tree of Clang and optionally compiled when compiling Clang.</div></div></blockquote><div style="direction:inherit"><br></div></span><div style="direction:inherit">I can't answer about why it is this way but:</div><div style="direction:inherit">1) you don't *have to* put clang inside llvm, it is just a convention.</div><div style="direction:inherit">2) the current monorepo proposal have all the projects one next to each other, and by default cmake path/to/llvm would configure only LLVM.</div><span class="HOEnZb"><font color="#888888"><div style="direction:inherit"><br></div><div style="direction:inherit">-- </div><div style="direction:inherit">Mehdi</div></font></span><div><div class="h5"><div style="direction:inherit"><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div style="direction:inherit"><br></div><div class="gmail_quote">On Fri, Sep 9, 2016 at 3:11 PM, Mehdi Amini via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span><div><div style="direction:inherit"><br></div><div style="direction:inherit"><br></div></div><div>On Sep 9, 2016, at 2:11 AM, Alexander Benikowski <<a href="mailto:sebal007@googlemail.com" target="_blank">sebal007@googlemail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>I'd vote for having each component in a seperated Repository and using a Monorepo with Submodules to work with.<br></div>Since CLang depends on LLVM but not vice versa (if i am not mistaken. I'm new here), i'd prefer to just work with the LLVM repo if it is desired.<br></div></div></blockquote><div style="direction:inherit"><br></div></span><div style="direction:inherit">Can you elaborate why and what kind of workflow you have that would benefit from this?</div><div style="direction:inherit"><br></div><div style="direction:inherit">Also did you read the document I sent with the examples?</div><span><font color="#888888"><div style="direction:inherit"><br></div><div style="direction:inherit">-- </div><div style="direction:inherit">Mehdi </div></font></span><span><div style="direction:inherit"><br></div><div style="direction:inherit"><br></div><div style="direction:inherit"><br></div><blockquote type="cite"><div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-08 21:49 GMT+02:00 Renato Golin via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8 September 2016 at 19:37, Mehdi Amini via llvm-dev<br>
<span><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> I'd expect a cmake shortcut cmake<br>
> -DLLVM_ENABLE_PROjECTS=clang,l<wbr>ibcxx,compiler-rt<br>
<br>
</span>Hey, I like this idea!<br>
<br>
In that case, we don't need the directories in any particular<br>
location, as CMake would be able to find and link any place *we* want<br>
to put them in (in tree, flat out) and pull out their CMake files.<br>
<br>
This would also help each project to be built in its own, if they so<br>
require, without upsetting the LLVM-canon build style.<br>
<br>
cheers,<br>
--renato<br>
<div><div>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote></span></div><br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>
</div></div>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>
</div>