[LLVMdev] Using thin archives when building llvm

Brad King brad.king at kitware.com
Mon Jul 20 07:53:11 PDT 2015


On 07/20/2015 10:48 AM, Rafael EspĂ­ndola wrote:
>>> Setting CMAKE_CXX_CREATE_STATIC_LIBRARY works on OS X and linux, but
>>> on windows I still see a call to "lld-link2 /lib..." when
>>> CMAKE_CXX_CREATE_STATIC_LIBRARY is set to use llvm-lib.
> 
> I was using ninja for windows too.

Where does lld-link2 get chosen?  CMake doesn't have code for that
name so something else in your project must be specifying it somehow.

Thanks,
-Brad





More information about the llvm-dev mailing list