diff options
author | Michael Case <mikecase@google.com> | 2017-10-09 13:31:15 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-10-09 13:35:33 -0700 |
commit | 7e4e336ce5b874fadf8024b6a9c90e1bc8ed2867 (patch) | |
tree | f4b1cf3ad7e4b66579f4759427451219b0d9c667 /tensorflow/core/platform/default/build_config.bzl | |
parent | 0ac688a18cc56816d8c767f7fcbce97b05b2319e (diff) |
Relanding change to add config to enable S3 file system support.
Pass --config=s3 argument to Bazel to build with S3 file system support.
Change was originally rolled back due to a failure it caused in
//tensorflow/core/kernels:control_flow_ops_test on Macs which is now fixed.
PiperOrigin-RevId: 171579378
Diffstat (limited to 'tensorflow/core/platform/default/build_config.bzl')
-rw-r--r-- | tensorflow/core/platform/default/build_config.bzl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/core/platform/default/build_config.bzl b/tensorflow/core/platform/default/build_config.bzl index 51d37291ee..2c14ea917c 100644 --- a/tensorflow/core/platform/default/build_config.bzl +++ b/tensorflow/core/platform/default/build_config.bzl @@ -465,6 +465,11 @@ def tf_additional_core_deps(): "//tensorflow/core/platform/hadoop:hadoop_file_system", ], "//conditions:default": [], + }) + select({ + "//tensorflow:with_s3_support": [ + "//tensorflow/contrib/s3:s3_file_system", + ], + "//conditions:default": [], }) # TODO(jart, jhseu): Delete when GCP is default on. |