aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.py
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-02 16:51:51 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-02 16:52:00 -0700
commitbbc9c1f14aac652ca0cafc750e23ff706438639a (patch)
tree6ee5c66fcc7388f97d6642268c329351624d61a8 /configure.py
parent05973093a4716f861db2490dab2bcb8b9a6ee557 (diff)
parentd3f6b72bc7356d5c94289e32426dc482b8ededf0 (diff)
Merge pull request #21374 from perfinion:bazel
PiperOrigin-RevId: 215483141
Diffstat (limited to 'configure.py')
-rw-r--r--configure.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.py b/configure.py
index 7e47175b98..2d2da11700 100644
--- a/configure.py
+++ b/configure.py
@@ -260,12 +260,7 @@ def reset_tf_configure_bazelrc():
if _TF_BAZELRC_FILENAME in l:
continue
f.write('%s\n' % l)
- if is_windows():
- tf_bazelrc_path = _TF_BAZELRC.replace('\\', '/')
- else:
- tf_bazelrc_path = _TF_BAZELRC
- f.write('import %s\n' % tf_bazelrc_path)
-
+ f.write('import %%workspace%%/%s\n' % _TF_BAZELRC_FILENAME)
def cleanup_makefile():
"""Delete any leftover BUILD files from the Makefile build.