[PATCH] D20883: [cmake] Fix builds with LLVM_ENABLE_PIC=0
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 2 14:01:07 PDT 2016
chapuni added a subscriber: chapuni.
chapuni added a comment.
Have you tested if it might work? In fact, it didn't work.
================
Comment at: cfe/trunk/test/CMakeLists.txt:78
@@ +77,3 @@
+
+ if(TARGET llvm-lto)
+ set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-lto)
----------------
llvm-lto was not processed before clang. Fixed in r271585.
================
Comment at: cfe/trunk/test/CMakeLists.txt:83
@@ +82,3 @@
+ if(TARGET LTO)
+ set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LTO)
+ endif()
----------------
It would be redundant unless libLTO.so were actually used in tests.
Repository:
rL LLVM
http://reviews.llvm.org/D20883
More information about the cfe-commits
mailing list