aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Vijay Vasudevan <vrv@google.com>2016-02-25 13:44:06 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-02-25 13:46:10 -0800
commit97f6b6fb66cd8e52af4750bd183dfc555d08ef4d (patch)
treec532c8fb191bd8d1b75bb3ab5cd060bb9fe13aba /configure
parenta82f7e6b55091d29896e0767ae7fb06f93447d86 (diff)
TensorFlow: perl command in configure script was not properly replacing
the cuda/cudnn version strings in build_config.bzl Addresses issue mentioned in #1052 Change: 115599314
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index f1c15f35c6..3f0a067eae 100755
--- a/configure
+++ b/configure
@@ -131,11 +131,11 @@ TF_CUDNN_VERSION=$TF_CUDNN_EXT
EOF
# Configure the Cuda toolkit version to work with.
-perl -pi -e "s,CUDA_VERSION = '[0-9\.]*',CUDA_VERSION = '$TF_CUDA_EXT',s" tensorflow/core/platform/default/build_config.bzl
+perl -pi -e "s,CUDA_VERSION = \"[0-9\.]*\",CUDA_VERSION = \"$TF_CUDA_EXT\",s" tensorflow/core/platform/default/build_config.bzl
perl -pi -e "s,(GetCudaVersion.*return )\"[0-9\.]*\",\1\"$TF_CUDA_EXT\",s" tensorflow/stream_executor/dso_loader.cc
# Configure the Cudnn version to work with.
-perl -pi -e "s,CUDNN_VERSION = '[0-9\.]*',CUDNN_VERSION = '$TF_CUDNN_EXT',s" tensorflow/core/platform/default/build_config.bzl
+perl -pi -e "s,CUDNN_VERSION = \"[0-9\.]*\",CUDNN_VERSION = \"$TF_CUDNN_EXT\",s" tensorflow/core/platform/default/build_config.bzl
perl -pi -e "s,(GetCudnnVersion.*return )\"[0-9\.]*\",\1\"$TF_CUDNN_EXT\",s" tensorflow/stream_executor/dso_loader.cc
# Configure the compute capabilities that TensorFlow builds for.