<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 8, 2015 at 11:38 AM, Greg Fitzgerald <span dir="ltr"><<a href="mailto:garious@gmail.com" target="_blank">garious@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm hoping to revive the LLD standalone CMake build. I'm new to this<br>
build but it looks like it borrowed code from an old version of<br>
compiler-rt, which I did some work on last year. Like compiler-rt,<br>
I'd like to get the LLD build up running with only CMAKE_PREFIX_PATH<br>
instead of defining custom variables like LLD_PATH_TO_LLVM_BUILD and<br>
LLD_PATH_TO_LLVM_SOURCE. Any objection to that?<br></blockquote><div><br></div><div>I think I don't have enough knowledge on the CMake build system to comment on this. If no one objects and things keep working, that'd be fine to me.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, two files ELFLinkingContext.cpp and MachOLinkingContext.cpp<br>
include a private header from the LLVM source tree,<br>
"llvm/Config/config.h" to get access to HAVE_CXXABI_H. Can the<br>
dependency on HAVE_CXXABI_H be removed? If no, mind if I add a<br>
config.h.cmake to LLD's "include/lld/Config"?</blockquote><div><br></div><div>I believe that dependency cannot be removed since the code really needs to know whether cxxabi.h is available or not. Feel free to add config.h.cmake to include/lld/Config.</div></div><br></div></div>