[PATCH] D31098: [compiler-rt] respect CMAKE_EXE_LINKER_FLAGS in compiler and library tests

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 11:08:55 PDT 2017

davidxl added a comment.

I just did a source sync and rerun cmake in a fresh dir, and verified check-profile target is there (lto is set to Off and type is Release)

env DYLD_LIBRARY_PATH=${build_dir}/lib/ cmake -G Ninja \
${src_root} \
-DCMAKE_C_COMPILER=${build_dir}/bin/clang \
-DCMAKE_CXX_COMPILER=${build_dir}/bin/clang++ \
-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold \
-DCMAKE_RANLIB=${build_dir}/bin/llvm-ranlib \
-DCMAKE_AR=${build_dir}/bin/llvm-ar \
-DLLVM_BINUTILS_INCDIR=${bin_utils_dir} \
'-DLLVM_LIT_ARGS=--xunit-xml-output=testresults.xunit.xml -v'


More information about the llvm-commits mailing list