Update install_ocaml.sh

This commit is contained in:
Anthony Scemama 2020-11-02 22:13:40 +01:00
parent e1a532f578
commit 8313af10ac
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ set -u
set -e
cd .. ; QMCCHEM_PATH="$PWD" ; cd -
PACKAGES="cryptokit ocamlbuild getopt ocamlfind sexplib.v0.11.0 ppx_sexp_conv ppx_deriving"
PACKAGES="cryptokit ocamlbuild getopt ocamlfind sexplib ppx_sexp_conv ppx_deriving"
# return 0 if program version is equal or greater than check version
check_version () {
@ -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 -y --unlock-base ${PACKAGES} || exit 3
rm "${QMCCHEM_PATH}"/install/_build/ocaml.log
exit 0