Skip to content

Commit ce45e39

Browse files
author
Chris Bieneman
committed
[CMake] Connect check-compiler-rt to check-all
When using the LLVM_BUILD_EXTERNAL_COMPILER_RT option with LLVM_ENABLE_TESTS we should also bind check-compiler-rt to check-all so that the compiler-rt tests run too. llvm-svn: 274045
1 parent 70d4bb5 commit ce45e39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/runtime/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
141141
COMMAND ${run_check_compiler_rt}
142142
DEPENDS compiler-rt-build ${COMPILER_RT_TEST_DEPENDENCIES}
143143
WORKING_DIRECTORY ${BINARY_DIR}
144-
VERBATIM)
144+
VERBATIM USES_TERMINAL)
145+
set_property(GLOBAL APPEND PROPERTY LLVM_LIT_DEPENDS check-compiler-rt)
145146
endif()
146147
endif()

0 commit comments

Comments
 (0)