Skip to content

Commit

Permalink
Windows: Fix CUDNN_INSTALL_PATH in ./configure (#11014)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy authored and gunan committed Jun 23, 2017
1 parent af8f635 commit 270a3e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,9 @@ while true; do
# Result returned from "read" will be used unexpanded. That make "~" unusable.
# Going through one more level of expansion to handle that.
CUDNN_INSTALL_PATH=`"${PYTHON_BIN_PATH}" -c "import os; print(os.path.realpath(os.path.expanduser('${CUDNN_INSTALL_PATH}')))"`
if is_windows; then
CUDNN_INSTALL_PATH="$(cygpath -m "$CUDNN_INSTALL_PATH")"
fi
fi

if [[ -z "$TF_CUDNN_VERSION" ]]; then
Expand Down

0 comments on commit 270a3e8

Please sign in to comment.