Skip to content

Commit

Permalink
PR #22529: [ROCm] Fix link error with rccl by adding libnuma link dep…
Browse files Browse the repository at this point in the history
…endency

Imported from GitHub PR #22529

Copybara import of the project:

--
ac9f1c5 by Harsha HS <[email protected]>:

[ROCm] Fix link error with rccl by adding libnuma link dependency

Merging this change closes #22529

COPYBARA_INTEGRATE_REVIEW=#22529 from ROCm:ci_fix_link_rccl_20240210 ac9f1c5
PiperOrigin-RevId: 725989942
  • Loading branch information
hsharsha authored and Google-ML-Automation committed Feb 12, 2025
1 parent e96c270 commit d44477f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion third_party/tsl/third_party/gpus/rocm/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,14 @@ cc_library(
includes = [
"%{rocm_root}/include",
],
linkopts = ["-lnuma"],
linkstatic = 1,
strip_include_prefix = "%{rocm_root}",
visibility = ["//visibility:public"],
deps = [":rocm_config"],
deps = [
":rocm_config",
":system_libs",
],
)

bzl_library(
Expand Down

0 comments on commit d44477f

Please sign in to comment.