Skip to content
Snippets Groups Projects

Add caffe and gcc

Merged Amir MOHAMMADI requested to merge gcc into master
1 file
+ 10
6
Compare changes
  • Side-by-side
  • Inline
+ 10
6
@@ -22,6 +22,13 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
@@ -22,6 +22,13 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
fi
fi
fi
fi
 
 
if [ "$(uname)" == "Linux" ] && [ ${PYTHON_VERSION} == "2.7" ]; then
 
CAFFE=caffe
 
else
 
CAFFE=
 
fi
 
# For a complete list of dependencies, please read:
# For a complete list of dependencies, please read:
# https://gitlab.idiap.ch/bob/bob/wikis/Dependencies
# https://gitlab.idiap.ch/bob/bob/wikis/Dependencies
echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..."
echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..."
@@ -33,6 +40,7 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
@@ -33,6 +40,7 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
dask \
dask \
docopt \
docopt \
ffmpeg \
ffmpeg \
 
gcc \
giflib \
giflib \
hdf5 \
hdf5 \
ipdb \
ipdb \
@@ -61,12 +69,8 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
@@ -61,12 +69,8 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
sqlalchemy \
sqlalchemy \
tensorflow \
tensorflow \
virtualenv \
virtualenv \
vlfeat
vlfeat \
${CAFFE}
# Commented out while @amohammadi fixes it in conda-forge
#if [ "$(uname)" == "Linux" ] && [ ${PYTHON_VERSION} == "2.7" ]; then
# ${CONDA} install --yes -n ${NAME} --override-channels -c conda-forge -c defaults caffe
#fi
echo "[>>] Pip-installing extra dependencies in environment ${NAME} for ${PYTHON_VERSION}..."
echo "[>>] Pip-installing extra dependencies in environment ${NAME} for ${PYTHON_VERSION}..."
source ${BASEDIR}/bin/activate ${NAME}
source ${BASEDIR}/bin/activate ${NAME}
Loading