9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-05-29 16:55:18 +02:00

Update modules

This commit is contained in:
Anthony Scemama 2021-07-05 19:19:45 +02:00
parent 906d96c4df
commit 4a20c5d284
2 changed files with 4 additions and 3 deletions

2
.gitmodules vendored
View File

@ -6,4 +6,4 @@
url = https://gitlab.com/scemama/irpf90.git
[submodule "external/qp2-dependencies"]
path = external/qp2-dependencies
url = git@github.com:QuantumPackage/qp2-dependencies.git
url = https://github.com/QuantumPackage/qp2-dependencies.git

View File

@ -5,8 +5,9 @@ then
# Comment these lines if you have a system-wide OCaml installation
export PATH="${QP_ROOT}/external/ocaml-bundle/bootstrap/bin:$PATH"
eval $(opam env --root "${QP_ROOT}/external/ocaml-bundle/opam" --set-root)
if [[ -f "${QP_ROOT}/external/ocaml-bundle/bootstrap/bin/opam" ]] ; then
eval $(opam env --root "${QP_ROOT}/external/ocaml-bundle/opam" --set-root)
fi
fi
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true