Skip to content
Snippets Groups Projects
Commit a15bb1af authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

add caffe and gcc

parent 0cf94807
No related branches found
No related tags found
1 merge request!27Add caffe and gcc
......@@ -22,6 +22,13 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
fi
fi
if [ "$(uname)" == "Linux" ] && [ ${PYTHON_VERSION} == "2.7" ]; then
CAFFE=caffe
else
CAFFE=
fi
# For a complete list of dependencies, please read:
# https://gitlab.idiap.ch/bob/bob/wikis/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
dask \
docopt \
ffmpeg \
gcc \
giflib \
hdf5 \
ipdb \
......@@ -61,12 +69,8 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
sqlalchemy \
tensorflow \
virtualenv \
vlfeat
# 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
vlfeat \
${CAFFE}
echo "[>>] Pip-installing extra dependencies in environment ${NAME} for ${PYTHON_VERSION}..."
source ${BASEDIR}/bin/activate ${NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment