aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Eugene Brevdo <ebrevdo@google.com>2017-01-27 10:30:02 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-27 10:45:00 -0800
commit8fc3981e027c5a5c99a5cc25b05d6028ac0da199 (patch)
treeeaa5ac257887c4c63b84219e7cf75641af0b2720 /configure
parenta2417ef5b0c2b8d7f665bf68de033cdc5a94890c (diff)
Automated rollback of change 145703555
Change: 145809900
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 372ec2cee8..a8e7bb7738 100755
--- a/configure
+++ b/configure
@@ -168,10 +168,10 @@ done
if [ "$TF_ENABLE_XLA" == "1" ]; then
# Update Bazel build configuration.
- sed -i -e "s/WITH_XLA_SUPPORT = (False|True)/WITH_XLA_SUPPORT = True/" tensorflow/core/platform/default/build_config_root.bzl
+ perl -pi -e "s,WITH_XLA_SUPPORT = (False|True),WITH_XLA_SUPPORT = True,s" tensorflow/core/platform/default/build_config.bzl
else
# Update Bazel build configuration.
- sed -i -e "s/WITH_XLA_SUPPORT = (False|True)/WITH_XLA_SUPPORT = False/" tensorflow/core/platform/default/build_config_root.bzl
+ perl -pi -e "s,WITH_XLA_SUPPORT = (False|True),WITH_XLA_SUPPORT = False,s" tensorflow/core/platform/default/build_config.bzl
fi