aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-08-26 12:50:48 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-26 14:01:27 -0700
commitb0bdff4827f867a67f572ed99d85f9a847788326 (patch)
tree750f4a99478f8bd5ad1c99abd1af0179647e8977 /configure
parent0f867ebf83cd594aeb73b1577044c91a749ddac5 (diff)
Merge changes from github.
Change: 131437429
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index bcef37bd26..f4b772c55e 100755
--- a/configure
+++ b/configure
@@ -98,7 +98,7 @@ while true; do
fi
fi
if [ -e "$GCC_HOST_COMPILER_PATH" ]; then
- export CC=$GCC_HOST_COMPILER_PATH
+ export GCC_HOST_COMPILER_PATH
break
fi
echo "Invalid gcc path. ${GCC_HOST_COMPILER_PATH} cannot be found" 1>&2
@@ -142,7 +142,7 @@ while true; do
if [ -e "${CUDA_TOOLKIT_PATH}/${CUDA_RT_LIB_PATH}" ]; then
export CUDA_TOOLKIT_PATH
- export CUDA_VERSION=$TF_CUDA_VERSION
+ export TF_CUDA_VERSION
break
fi
echo "Invalid path to CUDA $TF_CUDA_VERSION toolkit. ${CUDA_TOOLKIT_PATH}/${CUDA_RT_LIB_PATH} cannot be found"
@@ -203,7 +203,7 @@ while true; do
fi
if [ -e "$CUDNN_INSTALL_PATH/${CUDA_DNN_LIB_ALT_PATH}" -o -e "$CUDNN_INSTALL_PATH/${CUDA_DNN_LIB_PATH}" ]; then
- export CUDNN_VERSION=$TF_CUDNN_VERSION
+ export TF_CUDNN_VERSION
export CUDNN_INSTALL_PATH
break
fi
@@ -211,7 +211,7 @@ while true; do
if [ "$OSNAME" == "Linux" ]; then
CUDNN_PATH_FROM_LDCONFIG="$(ldconfig -p | sed -n 's/.*libcudnn.so .* => \(.*\)/\1/p')"
if [ -e "${CUDNN_PATH_FROM_LDCONFIG}${TF_CUDNN_EXT}" ]; then
- export CUDNN_VERSION=$TF_CUDNN_VERSION
+ export TF_CUDNN_VERSION
export CUDNN_INSTALL_PATH="$(dirname ${CUDNN_PATH_FROM_LDCONFIG})"
break
fi
@@ -263,7 +263,7 @@ EOF
exit 1
fi
else
- export CUDA_COMPUTE_CAPABILITIES=$TF_CUDA_COMPUTE_CAPABILITIES
+ export TF_CUDA_COMPUTE_CAPABILITIES
break
fi
TF_CUDA_COMPUTE_CAPABILITIES=""