1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

renamed NGraph to neon in the installation script

This commit is contained in:
Itai Caspi
2017-10-22 11:48:42 +03:00
parent c3501653f7
commit 497130098c

View File

@@ -51,7 +51,7 @@ INSTALL_VIRTUAL_ENVIRONMENT=1
# Get user preferences # Get user preferences
TEMP=`getopt -o cpgvrmeNndh \ TEMP=`getopt -o cpgvrmeNndh \
--long coach,dashboard,gym,no_virtual_environment,ngraph,debug,help \ --long coach,dashboard,gym,no_virtual_environment,neon,debug,help \
-- "$@"` -- "$@"`
eval set -- "$TEMP" eval set -- "$TEMP"
while true; do while true; do
@@ -73,8 +73,8 @@ while true; do
INSTALL_VIRTUAL_ENVIRONMENT=0 INSTALL_VIRTUAL_ENVIRONMENT=0
GET_PREFERENCES_MANUALLY=0; GET_PREFERENCES_MANUALLY=0;
shift;; shift;;
-ng|--ngraph) -ne|--neon)
INSTALL_NGRAPH=1 INSTALL_NEON=1
GET_PREFERENCES_MANUALLY=0; GET_PREFERENCES_MANUALLY=0;
shift;; shift;;
-d|--debug) set -x; shift;; -d|--debug) set -x; shift;;
@@ -104,8 +104,8 @@ if [ ${GET_PREFERENCES_MANUALLY} -eq 1 ]; then
prompt "Install Gym support?" Y prompt "Install Gym support?" Y
INSTALL_GYM=${retval} INSTALL_GYM=${retval}
prompt "Install Neon and NGraph support?" Y prompt "Install Neon and neon support?" Y
INSTALL_NGRAPH=${retval} INSTALL_NEON=${retval}
fi fi
IN_VIRTUAL_ENV=`python -c 'import sys; print("%i" % hasattr(sys, "real_prefix"))'` IN_VIRTUAL_ENV=`python -c 'import sys; print("%i" % hasattr(sys, "real_prefix"))'`
@@ -172,8 +172,8 @@ if [ ${INSTALL_GYM} -eq 1 ]; then
fi fi
# NGraph and Neon # NGraph and Neon
if [ ${INSTALL_NGRAPH} -eq 1 ]; then if [ ${INSTALL_NEON} -eq 1 ]; then
echo "Installing NGraph requirements" echo "Installing neon requirements"
# MKL # MKL
git clone https://github.com/01org/mkl-dnn.git git clone https://github.com/01org/mkl-dnn.git