<div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote">2016-07-22 14:04 GMT-07:00 Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 22 July 2016 at 13:48, Piotr Padlewski via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
>> The build system can help, you just need to have two (sparse) checkout: one for LLVM/clang and the other for clang-tidy, and configure the build with the LLVM/clang checkout adding the clang-tidy as external.<br>
<br>
> Can you describe it more?<br>
<br>
Something like this<br>
<br>
$ git clone git@github.com:llvm/llvm.git<br>
$ git clone git@github.com:llvm/llvm.git clang-tools-extras<br>
$ <make the clang-tools sparse if you want, doesn't seem strictly<br>
necessary though><br>
$ mkdir build && cd build<br>
$ cmake ../llvm<br>
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extras/tools/clang/tools/clang-tools-extras<br>
$ make<br></blockquote><div><br></div><div>Oh ok, it actually seems much easier than I thought! Thanks.<div> <br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
> I don't get the approach, but it seems we are trying to make it easier to use llvm, but in the same time we are making it harder. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
As Justin said, this isn't an issue for the majority of developers and<br>
it's a solvable problem for you.<br>
<br>
> BTW Does anyone knows why cmake is reloading each time I update llvm/clang repo? I hope that both approaches would solve this problem, because it doesn't seem like a something that should happen.<br>
<br>
It reconfigures every time a CMakelists.txt file used in the build is<br>
changed, which is unavoidable as far as I'm aware.<br>
<br></blockquote><div><br></div><div>That might be the case.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
Cheers.<br>
<span class=""><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br></div></div>