Skip to content

Commit 56c4116

Browse files
[SYCL] Improve spirv-to-ir-wrapper build/test dependencies (#7618)
If LLVM is configured without llvm-spirv we should avoid making testing dependent upon it.
1 parent 74833b2 commit 56c4116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ if(TARGET LTO)
172172
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LTO)
173173
endif()
174174

175-
if(TARGET spirv-to-ir-wrapper)
175+
if(TARGET llvm-spirv)
176176
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-spirv)
177177
endif()
178178

0 commit comments

Comments
 (0)