mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-19 04:22:32 +01:00
Fix compilation with OCaml 4220e2cb9b
This commit is contained in:
parent
0cae3b9e94
commit
78dcb2c4d5
@ -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