diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index d16d718442397..5f057570bdc68 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -228,15 +228,10 @@ if (SYCL_ENABLE_XPTI_TRACING) endif() endif() -if (NOT DEFINED LLVM_INCLUDE_TESTS) - set(LLVM_INCLUDE_TESTS ON) -endif() - option(SYCL_INCLUDE_TESTS "Generate build targets for the SYCL unit tests." ${LLVM_INCLUDE_TESTS}) - # Plugin Library add_subdirectory( plugins ) @@ -274,7 +269,6 @@ set( SYCL_TOOLCHAIN_DEPLOY_COMPONENTS libsycldevice ) - if(SYCL_BUILD_PI_CUDA) # Ensure that libclc is enabled. list(FIND LLVM_ENABLE_PROJECTS libclc LIBCLC_FOUND) @@ -287,7 +281,6 @@ if(SYCL_BUILD_PI_CUDA) list(APPEND SYCL_TOOLCHAIN_DEPLOY_COMPONENTS libspirv-builtins pi_cuda) endif() - # Use it as fake dependency in order to force another command(s) to execute. add_custom_command(OUTPUT __force_it COMMAND "${CMAKE_COMMAND}" -E echo