mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-08-29 22:33:41 +02:00
Update ocaml install
This commit is contained in:
parent
ffadb3beef
commit
e1a532f578
@ -82,7 +82,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
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
|
touch "${QMCCHEM_PATH}"/bin/opam
|
||||||
eval $(${QMCCHEM_PATH}/bin/opam env)
|
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 LIBRARY_PATH="${QMCCHEM_PATH}/lib:${LIBRARY_PATH}"
|
||||||
export C_INCLUDE_PATH="${QMCCHEM_PATH}/lib:${C_INCLUDE_PATH}"
|
export C_INCLUDE_PATH="${QMCCHEM_PATH}/lib:${C_INCLUDE_PATH}"
|
||||||
set -u
|
set -u
|
||||||
opam install --unlock-base ${PACKAGES}
|
opam install --unlock-base ${PACKAGES}
|
||||||
rm "${QMCCHEM_PATH}"/install/_build/ocaml.log
|
rm "${QMCCHEM_PATH}"/install/_build/ocaml.log
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user