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
2
configure
vendored
2
configure
vendored
@ -226,8 +226,10 @@ if [ "$TF_NEED_MKL" == "1" ]; then # TF_NEED_MKL
|
|||||||
else
|
else
|
||||||
default_mkl_path=/opt/intel/mklml
|
default_mkl_path=/opt/intel/mklml
|
||||||
fromuser=""
|
fromuser=""
|
||||||
|
if [ -z "$MKL_INSTALL_PATH" ]; then
|
||||||
read -p "Please specify the location where MKL is installed. [Default is $default_mkl_path]: " MKL_INSTALL_PATH
|
read -p "Please specify the location where MKL is installed. [Default is $default_mkl_path]: " MKL_INSTALL_PATH
|
||||||
fromuser="1"
|
fromuser="1"
|
||||||
|
fi
|
||||||
if [ -z "$MKL_INSTALL_PATH" ]; then
|
if [ -z "$MKL_INSTALL_PATH" ]; then
|
||||||
MKL_INSTALL_PATH=$default_mkl_path
|
MKL_INSTALL_PATH=$default_mkl_path
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user