diff options
Diffstat (limited to 'tensorflow/core/distributed_runtime')
-rw-r--r-- | tensorflow/core/distributed_runtime/rpc/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/distributed_runtime/rpc/BUILD b/tensorflow/core/distributed_runtime/rpc/BUILD index d95e1a7df0..030cfaf0c3 100644 --- a/tensorflow/core/distributed_runtime/rpc/BUILD +++ b/tensorflow/core/distributed_runtime/rpc/BUILD @@ -235,6 +235,7 @@ cc_library( name = "grpc_server_lib", srcs = ["grpc_server_lib.cc"], hdrs = ["grpc_server_lib.h"], + linkstatic = 1, # Seems to be needed since alwayslink is broken in bazel deps = [ ":async_service_interface", ":grpc_channel", @@ -278,6 +279,7 @@ tf_cuda_library( name = "grpc_testlib_ops", testonly = 1, srcs = ["grpc_testlib_ops.cc"], + linkstatic = 1, # Seems to be needed since alwayslink is broken in bazel deps = [ "//tensorflow/core:framework", "//tensorflow/core:lib", |