mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-22 04:13:31 +01:00
Fix ocaml install script
This commit is contained in:
parent
82ec849839
commit
ffadb3beef
@ -4,7 +4,7 @@ set -u
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd .. ; QMCCHEM_PATH="$PWD" ; cd -
|
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
|
# return 0 if program version is equal or greater than check version
|
||||||
check_version () {
|
check_version () {
|
||||||
@ -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.07.1 --disable-sandboxing
|
${QMCCHEM_PATH}/bin/opam init --verbose --yes --comp=4.10.1 --disable-sandboxing
|
||||||
touch "${QMCCHEM_PATH}"/bin/opam
|
touch "${QMCCHEM_PATH}"/bin/opam
|
||||||
eval $(${QMCCHEM_PATH}/bin/opam env)
|
eval $(${QMCCHEM_PATH}/bin/opam env)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user