Skip to content

Commit 9538be5

Browse files
authored
Add sycl and l0 runtime as test dependency if they are enabled. (#581)
1 parent 2bfebfb commit 9538be5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ if(IMEX_ENABLE_VULKAN_RUNNER)
2525
)
2626
endif()
2727

28+
if(IMEX_ENABLE_SYCL_RUNTIME)
29+
list(APPEND IMEX_TEST_DEPENDS
30+
sycl-runtime
31+
)
32+
endif()
33+
34+
if(IMEX_ENABLE_L0_RUNTIME)
35+
list(APPEND IMEX_TEST_DEPENDS
36+
level-zero-runtime
37+
)
38+
endif()
39+
2840
configure_lit_site_cfg(
2941
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
3042
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py

0 commit comments

Comments
 (0)