Skip to content
Snippets Groups Projects
Commit 3d8c8378 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'master' into staging

Conflicts:
	gitlab/functions.sh
parents a5a8cf9c 69a9a1cd
No related branches found
No related tags found
1 merge request!42Staging
...@@ -310,3 +310,10 @@ if [ -z "${CI_BUILD_TAG}" ]; then ...@@ -310,3 +310,10 @@ if [ -z "${CI_BUILD_TAG}" ]; then
else else
log_info "Building tag, not setting BOB_DOCUMENTATION_SERVER" log_info "Building tag, not setting BOB_DOCUMENTATION_SERVER"
fi fi
# Patches conda environment
log_info "Patching build flags to provide for conda..."
CFLAGS="${CFLAGS} -pthread"
export_env CFLAGS
CXXFLAGS="${CXXFLAGS} -pthread"
export_env CXXFLAGS
...@@ -48,7 +48,6 @@ ${CONDA} create --yes -n ${NAME} \ ...@@ -48,7 +48,6 @@ ${CONDA} create --yes -n ${NAME} \
cmake \ cmake \
coverage \ coverage \
cython=0.24.1 \ cython=0.24.1 \
ccache=3.3.2 \
dask=0.11.0 \ dask=0.11.0 \
docopt \ docopt \
ffmpeg=2.8.10 \ ffmpeg=2.8.10 \
...@@ -81,19 +80,13 @@ ${CONDA} create --yes -n ${NAME} \ ...@@ -81,19 +80,13 @@ ${CONDA} create --yes -n ${NAME} \
sphinx_rtd_theme \ sphinx_rtd_theme \
sqlalchemy=1.0.13 \ sqlalchemy=1.0.13 \
${TENSORFLOW} \ ${TENSORFLOW} \
toolchain=2.0.1 \
virtualenv \ virtualenv \
vlfeat=0.9.20 vlfeat=0.9.20
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}
# pip install tensorflow in mac
if [ "$(uname)" == "Darwin" ]; then
pip install tensorflow
# test tensorflow
python -c "import tensorflow"
fi
# Cyvlfeat requires special instructions # Cyvlfeat requires special instructions
cyvlfeat=git+https://github.com/menpo/cyvlfeat@v0.4.5 cyvlfeat=git+https://github.com/menpo/cyvlfeat@v0.4.5
if [ "$(uname)" == "Linux" ]; then if [ "$(uname)" == "Linux" ]; then
......
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