Skip to content

Commit 2ed0eba

Browse files
[SYCL] Add clang-nvlink-wrapper to sycl-toolchain as a dependency (#17035)
This is a small follow-up PR on this [PR](#16884) as `clang-nvlink-wrapper` tool need to be added as a dependency for `sycl-toolchain`.
1 parent 341d073 commit 2ed0eba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sycl/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,10 @@ if (WIN32)
406406
add_dependencies(sycl-toolchain ur_win_proxy_loader)
407407
endif()
408408

409+
if("cuda" IN_LIST SYCL_ENABLE_BACKENDS)
410+
add_dependencies(sycl-toolchain clang-nvlink-wrapper)
411+
endif()
412+
409413
# Enable new IN_LIST operator.
410414
cmake_policy(SET CMP0057 NEW)
411415

0 commit comments

Comments
 (0)