aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.py
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2017-10-09 13:31:15 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-10-09 13:35:33 -0700
commit7e4e336ce5b874fadf8024b6a9c90e1bc8ed2867 (patch)
treef4b1cf3ad7e4b66579f4759427451219b0d9c667 /configure.py
parent0ac688a18cc56816d8c767f7fcbce97b05b2319e (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 'configure.py')
-rw-r--r--configure.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 9ca614f8f9..9da49b628d 100644
--- a/configure.py
+++ b/configure.py
@@ -991,6 +991,8 @@ def main():
'with_gcp_support', False, 'gcp')
set_build_var(environ_cp, 'TF_NEED_HDFS', 'Hadoop File System',
'with_hdfs_support', False, 'hdfs')
+ set_build_var(environ_cp, 'TF_NEED_S3', 'Amazon S3 File System',
+ 'with_s3_support', True, 's3')
set_build_var(environ_cp, 'TF_ENABLE_XLA', 'XLA JIT', 'with_xla_support',
False, 'xla')
set_build_var(environ_cp, 'TF_NEED_GDR', 'GDR', 'with_gdr_support',