Skip to content

Commit d50f52f

Browse files
authored
[SYCL][CUDA] Add the CUDA backend to the deploy-sycl-toolchain target (#1268)
If building of libpi_cuda.so is enabled, include it in the installation performed by make deploy-sycl-toolchain. Signed-off-by: Andrea Bocci <andrea.bocci@cern.ch>
1 parent c72b39c commit d50f52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ if(SYCL_BUILD_PI_CUDA)
271271
"CUDA support requires adding \"libclc\" to the CMake argument \"LLVM_ENABLE_PROJECTS\"")
272272
endif()
273273

274-
add_dependencies(sycl-toolchain libspirv-builtins)
275-
list(APPEND SYCL_TOOLCHAIN_DEPLOY_COMPONENTS libspirv-builtins)
274+
add_dependencies(sycl-toolchain libspirv-builtins pi_cuda)
275+
list(APPEND SYCL_TOOLCHAIN_DEPLOY_COMPONENTS libspirv-builtins pi_cuda)
276276
endif()
277277

278278

0 commit comments

Comments
 (0)