<div dir="ltr">That sort of surprises me - if that were the case, there would be no point having LLVMBuild.txt files in any libraries, I would think? </div><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 11, 2018 at 10:58 AM Weiming Zhao via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">weimingz added a comment.<br>
<br>
In <a href="https://reviews.llvm.org/D45244#1064527" rel="noreferrer" target="_blank">https://reviews.llvm.org/D45244#1064527</a>, @dblaikie wrote:<br>
<br>
> I meant what happens if you remove the changes to tools/lto/LLVMBuild.txt<br>
>  and tools/llvm-lto/LLVMBuild.txt and /only/ have a change to<br>
>  lib/LTO/LLVMBuild.txt - is that sufficient to make the build work?<br>
<br>
<br>
I tried before and it didn't work. I think it's because lib/LTO is for the generation of libLLVMLTO.a (at least for the default build config), so the dependency on MCJIT has no effect on the archive generation.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D45244" rel="noreferrer" target="_blank">https://reviews.llvm.org/D45244</a><br>
<br>
<br>
<br>
</blockquote></div>