Skip to content

Commit

Permalink
Change copts to linkopts
Browse files Browse the repository at this point in the history
  • Loading branch information
alekstheod committed Nov 19, 2024
1 parent b63c225 commit 3659239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/tsl/third_party/gpus/rocm/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ cc_library(
cc_library(
name = "rocblas",
hdrs = glob(["%{rocm_root}/include/rocblas/**"]),
copts = ["-rpath local_config_rocm/rocm/rocm_dis/lib"],
data = glob([
"%{rocm_root}/lib/librocblas*.so*",
"%{rocm_root}/lib/rocblas/**",
Expand All @@ -103,6 +102,7 @@ cc_library(
includes = [
"%{rocm_root}/include",
],
linkopts = ["-rpath local_config_rocm/rocm/rocm_dis/lib"],
strip_include_prefix = "%{rocm_root}",
visibility = ["//visibility:public"],
deps = [":rocm_config"],
Expand Down Expand Up @@ -283,7 +283,6 @@ cc_library(
cc_library(
name = "hipblaslt",
hdrs = glob(["%{rocm_root}/include/hipblaslt/**"]),
copts = ["-rpath local_config_rocm/rocm/rocm_dis/lib"],
data = glob([
"%{rocm_root}/lib/hipblaslt/**",
"%{rocm_root}/lib/libhipblaslt.so*",
Expand All @@ -292,6 +291,7 @@ cc_library(
includes = [
"%{rocm_root}/include/",
],
linkopts = ["-rpath local_config_rocm/rocm/rocm_dis/lib"],
strip_include_prefix = "%{rocm_root}",
visibility = ["//visibility:public"],
deps = [":rocm_config"],
Expand Down

0 comments on commit 3659239

Please sign in to comment.