[PATCH] D26649: [CMake] Support lld with LTO bootstrap
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 14 17:38:23 PST 2016
phosek added a comment.
It's sufficient, I just tested it. I'm not actually sure if `LLVM_ENABLE_LLD` here is correct, `LLVM_ENABLE_LLD` forces the use of lld, but lld might not be available during first stage. We need `LLVM_ENABLE_LLD` to be set, but only for the second stage (which is something that can be done in the cache file), in the first stage we should probably just check whether lld source is available and we're building it, but I'm not sure what's the easiest/cleanest way to do that?
Repository:
rL LLVM
https://reviews.llvm.org/D26649
More information about the cfe-commits
mailing list