mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-08-24 21:21:47 +02:00
Fix compilation with OCaml 4220e2cb9b
This commit is contained in:
parent
a1518175cb
commit
5f817af805
@ -2,11 +2,9 @@
|
|||||||
|
|
||||||
if [[ -z $OPAMROOT ]]
|
if [[ -z $OPAMROOT ]]
|
||||||
then
|
then
|
||||||
|
export PATH="${QP_ROOT}/external/opampack/:$PATH"
|
||||||
# Comment these lines if you have a system-wide OCaml installation
|
if [[ -f "${QP_ROOT}/external/opampack/opam" ]] ; then
|
||||||
export PATH="${QP_ROOT}/external/ocaml-bundle/bootstrap/bin:$PATH"
|
eval $("${QP_ROOT}/external/opampack/opam" env --root "${QP_ROOT}/external/opampack/opamroot" --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
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user