Skip to content

Commit eb124c4

Browse files
author
Jaime Arteaga
authored
[SYCL][UR] Do not build tests when downloading unified-runtime (#8669)
Signed-off-by: Jaime Arteaga <[email protected]>
1 parent 9cb4c60 commit eb124c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/plugins/unified_runtime/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ if (NOT DEFINED UNIFIED_RUNTIME_LIBRARY OR NOT DEFINED UNIFIED_RUNTIME_INCLUDE_D
2323
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override")
2424
endif()
2525

26+
# No need to build tests from unified-runtime
27+
set(UR_BUILD_TESTS "0" CACHE STRING "0")
28+
2629
FetchContent_GetProperties(unified-runtime)
2730
FetchContent_MakeAvailable(unified-runtime)
2831

0 commit comments

Comments
 (0)