diff --git a/install/scripts/install_ocaml.sh b/install/scripts/install_ocaml.sh index 5ce0d8c..84cef7c 100755 --- a/install/scripts/install_ocaml.sh +++ b/install/scripts/install_ocaml.sh @@ -4,7 +4,7 @@ set -u set -e cd .. ; QMCCHEM_PATH="$PWD" ; cd - -PACKAGES="cryptokit ocamlfind sexplib.v0.11.0 ppx_sexp_conv ppx_deriving" +PACKAGES="cryptokit ocamlbuild getopt ocamlfind sexplib.v0.11.0 ppx_sexp_conv ppx_deriving" # return 0 if program version is equal or greater than check version check_version () { @@ -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.07.1 --disable-sandboxing +${QMCCHEM_PATH}/bin/opam init --verbose --yes --comp=4.10.1 --disable-sandboxing touch "${QMCCHEM_PATH}"/bin/opam eval $(${QMCCHEM_PATH}/bin/opam env)