10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-12-21 11:53:30 +01:00

Update ocaml install

This commit is contained in:
Anthony Scemama 2020-11-02 22:02:04 +01:00
parent ffadb3beef
commit e1a532f578

View File

@ -82,7 +82,7 @@ then
fi
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
${QMCCHEM_PATH}/bin/opam init --verbose --yes --comp=4.10.1 --disable-sandboxing
${QMCCHEM_PATH}/bin/opam init --verbose --yes --compiler=4.10.0 --disable-sandboxing
touch "${QMCCHEM_PATH}"/bin/opam
eval $(${QMCCHEM_PATH}/bin/opam env)
@ -91,7 +91,7 @@ export LD_LIBRARY_PATH="${QMCCHEM_PATH}/lib:${LD_LIBRARY_PATH}"
export LIBRARY_PATH="${QMCCHEM_PATH}/lib:${LIBRARY_PATH}"
export C_INCLUDE_PATH="${QMCCHEM_PATH}/lib:${C_INCLUDE_PATH}"
set -u
opam install --unlock-base ${PACKAGES}
opam install --unlock-base ${PACKAGES}
rm "${QMCCHEM_PATH}"/install/_build/ocaml.log
exit 0