<div dir="ltr">I rolled back the change for now.<div><br></div><div>Chris, what is the use case of out of tree compile-rt build? In <a href="http://compile-rt.llvm.org">compile-rt.llvm.org</a>, it says "Generally, you need to build LLVM/Clang in order to build compiler-rt".  It seems pointless building it separately. </div><div><br></div><div>thanks,</div><div><br></div><div>David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 4:55 PM, Chris Bieneman <span dir="ltr"><<a href="mailto:beanz@apple.com" target="_blank">beanz@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">beanz added a subscriber: beanz.<br>
beanz added a comment.<br>
<br>
This code breaks builds with LLVM_EXTERNAL_COMPILER_RT=On or any out-of-tree compiler-rt build.<br>
<br>
LLVM_MAIN_INCLUDE_DIR is not always set, and you can't expect it to be set.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D14487" rel="noreferrer" target="_blank">http://reviews.llvm.org/D14487</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>