mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-22 04:13:31 +01:00
Update ocaml install
This commit is contained in:
parent
ffadb3beef
commit
e1a532f578
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user