Skip to content

Commit

Permalink
[SYCL] Add clang-nvlink-wrapper to sycl-toolchain as a dependency (#1…
Browse files Browse the repository at this point in the history
…7035)

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`.
  • Loading branch information
omarahmed1111 authored Feb 21, 2025
1 parent 341d073 commit 2ed0eba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sycl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ if (WIN32)
add_dependencies(sycl-toolchain ur_win_proxy_loader)
endif()

if("cuda" IN_LIST SYCL_ENABLE_BACKENDS)
add_dependencies(sycl-toolchain clang-nvlink-wrapper)
endif()

# Enable new IN_LIST operator.
cmake_policy(SET CMP0057 NEW)

Expand Down

0 comments on commit 2ed0eba

Please sign in to comment.