File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ find_package(Python3 REQUIRED COMPONENTS Interpreter)
36
36
configure_file ("${CMAKE_CURRENT_SOURCE_DIR} /lit.site.cfg.py.in"
37
37
"${CMAKE_CURRENT_BINARY_DIR} /lit.site.cfg" )
38
38
39
+ if (NOT SYCL_TEST_E2E_STANDALONE )
40
+ list (APPEND SYCL_E2E_TEST_DEPS
41
+ sycl-toolchain
42
+ )
43
+ endif () # Standalone.
44
+
39
45
if (SYCL_TEST_E2E_TARGETS )
40
46
message ("Configure iterative execution on multiple backends" )
41
47
add_custom_target (check-sycl-e2e )
@@ -58,6 +64,7 @@ if(SYCL_TEST_E2E_TARGETS)
58
64
add_custom_target (${TARGET}
59
65
COMMAND ${Python3_EXECUTABLE} ${LLVM_LIT} ${SYCL_E2E_TESTS_LIT_FLAGS} --param sycl_be=${TARGET_BE} --param target_devices=${TARGET_DEVICES} .
60
66
COMMENT "Running the SYCL tests for ${TARGET} backend"
67
+ DEPENDS ${SYCL_E2E_TEST_DEPS}
61
68
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
62
69
USES_TERMINAL
63
70
)
You can’t perform that action at this time.
0 commit comments