phosek added a comment.

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

> OK, but still, LLVM_ENABLE_LLD needs to be passed to stage-2, so it needs to 
> be actually BOOTSTRAP_LLVM_ENABLE_LLD. 
>  I looked at all the CMake `_PASSTHROUGH` and didn't find it mentioned 
> anywhere. We could make it auto-forwarded in this case maybe, @beanz is best 
> to answer this.
>
> Have you looked into turning `if(LLVM_ENABLE_LLD)` into 
> `if(BOOTSTRAP_LLVM_ENABLE_LLD)`?
>  Technically we may want to have the stage-2 linked with lld even if lld is 
> not on the system and not available during stage1.


Yes, I just finished a test build and `BOOTSTRAP_LLVM_ENABLE_LLD` seems to 
work, see the updated diff.


Repository:
  rL LLVM

https://reviews.llvm.org/D26649



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to