Skip to content

Commit 20daf91

Browse files
committed
[profile] Add a test dependency on cxx-headers
This enables running profile runtime tests which #include <string>, etc. via just `check-profile`. llvm-svn: 373120
1 parent 8cecc30 commit 20daf91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/profile/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(PROFILE_LIT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
44
set(PROFILE_TESTSUITES)
55
set(PROFILE_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
66
if(NOT COMPILER_RT_STANDALONE_BUILD)
7-
list(APPEND PROFILE_TEST_DEPS profile llvm-profdata llvm-cov)
7+
list(APPEND PROFILE_TEST_DEPS cxx-headers profile llvm-profdata llvm-cov)
88
endif()
99

1010
set(PROFILE_TEST_ARCH ${PROFILE_SUPPORTED_ARCH})

0 commit comments

Comments
 (0)