From 270a3e8886e352ad563a3431963296e3dc6dae06 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Fri, 23 Jun 2017 19:32:27 +0200 Subject: [PATCH] Windows: Fix CUDNN_INSTALL_PATH in ./configure (#11014) --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 602124225fe071..6d40aadefb8f25 100755 --- a/configure +++ b/configure @@ -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