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

Fix jpeg installation on OSX

parent 6b5b6b8c
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,9 @@ if [ ! -d ${PREFIX} ]; then
curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/${ARCH}/devel-py${pyver}.txt > env.txt
echo "[++] Bootstrapping conda installation at ${PREFIX}..."
run_cmd ${CONDA_FOLDER}/bin/conda create --prefix ${PREFIX} --file env.txt --yes
if [ "${ARCH}" == "macosx" && -e "${PREFIX}/lib/libjpeg.8.dylib" ]; then
run_cmd install_name_tool -id @rpath/libjpeg.8.dylib ${PREFIX}/lib/libjpeg.8.dylib
fi
run_cmd ${CONDA_FOLDER}/bin/conda clean --lock
else
echo "[!!] Prefix directory ${PREFIX} exists, not re-installing..."
......
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