[PATCH] D26649: [CMake] Support lld with LTO bootstrap
Mehdi AMINI via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 14 18:24:01 PST 2016
mehdi_amini added a comment.
In https://reviews.llvm.org/D26649#595296, @phosek wrote:
> It's sufficient, I just tested it.
How did you check it? I don't understand how LLVM_ENABLE_LLD is propagated to stage-2?
================
Comment at: CMakeLists.txt:534
+ add_dependencies(LLVMgold)
+ endif()
set(LTO_AR -DCMAKE_AR=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ar)
----------------
What if not by the way? Should we error out here? What is the expected behavior?
Repository:
rL LLVM
https://reviews.llvm.org/D26649
More information about the cfe-commits
mailing list