MKL_INSTALL_PATH should not be ignore when given (#10180)
* MKL_INSTALL_PATH should not be clear when given * fix overwrite by default
This commit is contained in:
parent
15eddf0354
commit
f6dc1ac61a
6
configure
vendored
6
configure
vendored
@ -226,8 +226,10 @@ if [ "$TF_NEED_MKL" == "1" ]; then # TF_NEED_MKL
|
||||
else
|
||||
default_mkl_path=/opt/intel/mklml
|
||||
fromuser=""
|
||||
read -p "Please specify the location where MKL is installed. [Default is $default_mkl_path]: " MKL_INSTALL_PATH
|
||||
fromuser="1"
|
||||
if [ -z "$MKL_INSTALL_PATH" ]; then
|
||||
read -p "Please specify the location where MKL is installed. [Default is $default_mkl_path]: " MKL_INSTALL_PATH
|
||||
fromuser="1"
|
||||
fi
|
||||
if [ -z "$MKL_INSTALL_PATH" ]; then
|
||||
MKL_INSTALL_PATH=$default_mkl_path
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user