Skip to content

Commit 3b8dd54

Browse files
authored
[SYCL] Do not force LLVM_INCLUDE_TESTS variable (#1505)
This variable must be set by the developers. Signed-off-by: Alexey Bader <[email protected]>
1 parent cc05149 commit 3b8dd54

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sycl/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,10 @@ if (SYCL_ENABLE_XPTI_TRACING)
235235
endif()
236236
endif()
237237

238-
if (NOT DEFINED LLVM_INCLUDE_TESTS)
239-
set(LLVM_INCLUDE_TESTS ON)
240-
endif()
241-
242238
option(SYCL_INCLUDE_TESTS
243239
"Generate build targets for the SYCL unit tests."
244240
${LLVM_INCLUDE_TESTS})
245241

246-
247242
# Plugin Library
248243
add_subdirectory( plugins )
249244

@@ -281,7 +276,6 @@ set( SYCL_TOOLCHAIN_DEPLOY_COMPONENTS
281276
libsycldevice
282277
)
283278

284-
285279
if(SYCL_BUILD_PI_CUDA)
286280
# Ensure that libclc is enabled.
287281
list(FIND LLVM_ENABLE_PROJECTS libclc LIBCLC_FOUND)
@@ -294,7 +288,6 @@ if(SYCL_BUILD_PI_CUDA)
294288
list(APPEND SYCL_TOOLCHAIN_DEPLOY_COMPONENTS libspirv-builtins pi_cuda)
295289
endif()
296290

297-
298291
# Use it as fake dependency in order to force another command(s) to execute.
299292
add_custom_command(OUTPUT __force_it
300293
COMMAND "${CMAKE_COMMAND}" -E echo

0 commit comments

Comments
 (0)