Skip to content

Commit

Permalink
[ROCm] fixing static linkage problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Batra authored and root committed Nov 3, 2023
1 parent d165aed commit 8dd0424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions third_party/xla/xla/stream_executor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ cc_library(
"@local_tsl//tsl/platform:status",
"@local_tsl//tsl/platform:statusor",
],
alwayslink = True,
)

cc_library(
Expand Down Expand Up @@ -483,6 +484,7 @@ cc_library(
"@com_google_absl//absl/synchronization",
"@local_tsl//tsl/platform:statusor",
],
alwayslink = True,
)

cc_library(
Expand Down Expand Up @@ -520,6 +522,7 @@ cc_library(
"@local_tsl//tsl/platform:status",
"@local_tsl//tsl/platform:statusor",
],
alwayslink = True,
)

cc_library(
Expand Down Expand Up @@ -626,6 +629,7 @@ cc_library(
"@local_tsl//tsl/protobuf:dnn_proto_cc",
"@local_tsl//tsl/util:env_var",
],
alwayslink = True,
)

# We have a separate `stream_executor_impl` target because in open source we are building multiple
Expand Down

0 comments on commit 8dd0424

Please sign in to comment.