[compiler-rt] r350973 - [CMake] Fix standalone build after LLVM exports utility targets

Stefan Granitz via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 11 13:59:58 PST 2019


Author: stefan.graenitz
Date: Fri Jan 11 13:59:58 2019
New Revision: 350973

URL: http://llvm.org/viewvc/llvm-project?rev=350973&view=rev
Log:
[CMake] Fix standalone build after LLVM exports utility targets

LLVM started exporting targets for utilites with https://reviews.llvm.org/rL350959, which broke compiler-rt standalone builds because it was used to define FileCheck manually.
Changed this, so FileCheck gets imported now.

Modified:
    compiler-rt/trunk/test/CMakeLists.txt

Modified: compiler-rt/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/CMakeLists.txt?rev=350973&r1=350972&r2=350973&view=diff
==============================================================================
--- compiler-rt/trunk/test/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/CMakeLists.txt Fri Jan 11 13:59:58 2019
@@ -15,8 +15,6 @@ if(COMPILER_RT_BUILD_PROFILE AND COMPILE
 endif()
 
 if(COMPILER_RT_STANDALONE_BUILD)
-  add_executable(FileCheck IMPORTED GLOBAL)
-  set_property(TARGET FileCheck PROPERTY IMPORTED_LOCATION ${LLVM_TOOLS_BINARY_DIR}/FileCheck)
   list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS FileCheck)
 endif()
 




More information about the llvm-commits mailing list