aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-13 17:51:35 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-13 17:57:43 -0700
commitd722c3e93fa180e4dad7678cf32868ed18f6ef84 (patch)
tree309154789105d732a6e6d96f4c086aada4b72ee5 /tensorflow
parent1824f82565f9a289e992b9e85ca2c54f84807c8d (diff)
Exclude util/stats_calculator.* from :framework_internal_impl
Otherwise both :framework_internal_impl and :stats_calculator_portable compile this file and cause multiple definition. PiperOrigin-RevId: 204555332
Diffstat (limited to 'tensorflow')
-rw-r--r--tensorflow/core/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index dbe87a6dbb..8a43220ec5 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -2464,6 +2464,7 @@ tf_cuda_library(
"framework/resource_handle.cc",
"util/memmapped_file_system.*",
"util/memmapped_file_system_writer.*",
+ "util/stats_calculator.*",
"util/version_info.cc",
],
) + select({
@@ -2490,6 +2491,7 @@ tf_cuda_library(
":protos_all_proto_text",
":error_codes_proto_text",
":protos_all_cc",
+ ":stats_calculator_portable",
":version_lib",
"//tensorflow/core/platform/default/build_config:platformlib",
"//tensorflow/core/kernels:bounds_check",