10000 Add back `xla/stream_executor:cuda_platform` to `tf_additional_binary… · IBMZ-Linux-OSS-Python/tensorflow@eeee7f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit eeee7f8

Browse files
Add back xla/stream_executor:cuda_platform to tf_additional_binary_deps.
Should fix tensorflow#63362 Reverts changelist 582804278 PiperOrigin-RevId: 646182849
1 parent 42cbd16 commit eeee7f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tensorflow/core/platform/build_config.default.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""OSS versions of Bazel macros that can't be migrated to TSL."""
22

3+
load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda")
34
load("@local_config_rocm//rocm:build_defs.bzl", "if_rocm")
45
load(
56
"//tensorflow/core/platform:build_config_root.bzl",
@@ -28,7 +29,9 @@ def tf_additional_binary_deps():
2829
# core.
2930
Label("//tensorflow/core/kernels:lookup_util"),
3031
Label("//tensorflow/core/util/tensor_bundle"),
31-
] + if_rocm([
32+
] + if_cuda([
33+
Label("@local_xla//xla/stream_executor:cuda_platform"),
34+
]) + if_rocm([
3235
"@local_xla//xla/stream_executor:rocm_platform",
3336
"@local_xla//xla/stream_executor/rocm:rocm_rpath",
3437
]) + if_mkl_ml([

0 commit comments

Comments
 (0)
0