Skip to content

Commit 9ce10d4

Browse files
author
Hugh Delaney
committed
Update check-clang dependencies
1 parent 7ac0262 commit 9ce10d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ if( NOT CLANG_BUILT_STANDALONE )
139139
if(TARGET llvm-lto)
140140
list(APPEND CLANG_TEST_DEPS llvm-lto)
141141
endif()
142+
143+
if ("NVPTX" IN_LIST LLVM_TARGETS_TO_BUILD)
144+
list(APPEND CLANG_TEST_DEPS libspirv-builtins libsycldevice)
145+
endif()
142146
endif()
143147

144148
if(CLANG_ENABLE_STATIC_ANALYZER)

0 commit comments

Comments
 (0)