Rollback linkstatic removal, unforeseen interaction on some archs.
Change: 126219121
This commit is contained in:
parent
c6e10698f6
commit
b6b45463fe
@ -20,7 +20,7 @@ tf_workspace()
|
|||||||
|
|
||||||
# Specify the minimum required bazel version.
|
# Specify the minimum required bazel version.
|
||||||
load("//tensorflow:tensorflow.bzl", "check_version")
|
load("//tensorflow:tensorflow.bzl", "check_version")
|
||||||
check_version("0.3.0")
|
check_version("0.2.0")
|
||||||
|
|
||||||
# TENSORBOARD_BOWER_AUTOGENERATED_BELOW_THIS_LINE_DO_NOT_EDIT
|
# TENSORBOARD_BOWER_AUTOGENERATED_BELOW_THIS_LINE_DO_NOT_EDIT
|
||||||
|
|
||||||
|
|||||||
@ -334,6 +334,7 @@ cc_library(
|
|||||||
cc_library(
|
cc_library(
|
||||||
name = "array_grad",
|
name = "array_grad",
|
||||||
srcs = ["ops/array_grad.cc"],
|
srcs = ["ops/array_grad.cc"],
|
||||||
|
linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":array_ops_op_lib",
|
":array_ops_op_lib",
|
||||||
@ -346,6 +347,7 @@ cc_library(
|
|||||||
cc_library(
|
cc_library(
|
||||||
name = "functional_grad",
|
name = "functional_grad",
|
||||||
srcs = ["ops/functional_grad.cc"],
|
srcs = ["ops/functional_grad.cc"],
|
||||||
|
linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":framework",
|
":framework",
|
||||||
@ -361,6 +363,7 @@ cc_library(
|
|||||||
"ops/math_grad.cc",
|
"ops/math_grad.cc",
|
||||||
"ops/random_grad.cc",
|
"ops/random_grad.cc",
|
||||||
],
|
],
|
||||||
|
linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":framework",
|
":framework",
|
||||||
@ -373,6 +376,7 @@ cc_library(
|
|||||||
cc_library(
|
cc_library(
|
||||||
name = "nn_grad",
|
name = "nn_grad",
|
||||||
srcs = ["ops/nn_grad.cc"],
|
srcs = ["ops/nn_grad.cc"],
|
||||||
|
linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":framework",
|
":framework",
|
||||||
|
|||||||
@ -235,6 +235,7 @@ cc_library(
|
|||||||
name = "grpc_server_lib",
|
name = "grpc_server_lib",
|
||||||
srcs = ["grpc_server_lib.cc"],
|
srcs = ["grpc_server_lib.cc"],
|
||||||
hdrs = ["grpc_server_lib.h"],
|
hdrs = ["grpc_server_lib.h"],
|
||||||
|
linkstatic = 1, # Seems to be needed since alwayslink is broken in bazel
|
||||||
deps = [
|
deps = [
|
||||||
":async_service_interface",
|
":async_service_interface",
|
||||||
":grpc_channel",
|
":grpc_channel",
|
||||||
@ -278,6 +279,7 @@ tf_cuda_library(
|
|||||||
name = "grpc_testlib_ops",
|
name = "grpc_testlib_ops",
|
||||||
testonly = 1,
|
testonly = 1,
|
||||||
srcs = ["grpc_testlib_ops.cc"],
|
srcs = ["grpc_testlib_ops.cc"],
|
||||||
|
linkstatic = 1, # Seems to be needed since alwayslink is broken in bazel
|
||||||
deps = [
|
deps = [
|
||||||
"//tensorflow/core:framework",
|
"//tensorflow/core:framework",
|
||||||
"//tensorflow/core:lib",
|
"//tensorflow/core:lib",
|
||||||
|
|||||||
@ -32,6 +32,7 @@ cc_library(
|
|||||||
hdrs = [
|
hdrs = [
|
||||||
"gcs_file_system.h",
|
"gcs_file_system.h",
|
||||||
],
|
],
|
||||||
|
linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":google_auth_provider",
|
":google_auth_provider",
|
||||||
|
|||||||
@ -425,6 +425,7 @@ def tf_kernel_library(name, prefix=None, srcs=None, gpu_srcs=None, hdrs=None,
|
|||||||
hdrs = hdrs,
|
hdrs = hdrs,
|
||||||
copts = tf_copts(),
|
copts = tf_copts(),
|
||||||
cuda_deps = cuda_deps,
|
cuda_deps = cuda_deps,
|
||||||
|
linkstatic = 1, # Needed since alwayslink is broken in bazel b/27630669
|
||||||
alwayslink = alwayslink,
|
alwayslink = alwayslink,
|
||||||
deps = deps,
|
deps = deps,
|
||||||
**kwargs)
|
**kwargs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user