[PATCH] D26649: [CMake] Support lld with LTO bootstrap

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 14 17:31:19 PST 2016


Eugene.Zelenko added a comment.

In https://reviews.llvm.org/D26649#595213, @mehdi_amini wrote:

> Make sense to me, but I don't think it is enough: LLVM_ENABLE_LLD should be passed to stage-2, and it also should be set to the absolute path of the stage-1 lld build.


What is search directories order in Clang? It's reasonable it it tries to look into same directory first. In this case CMAKE_C_COMPILER/CMAKE_CXX_COMPILER should be enough for later stages.


Repository:
  rL LLVM

https://reviews.llvm.org/D26649





More information about the cfe-commits mailing list