9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00
qp2/etc/ocaml.rc
Anthony Scemama 5f817af805
Some checks failed
continuous-integration/drone/push Build is failing
Fix compilation with OCaml 4220e2cb9b
2023-02-06 13:55:46 +01:00

13 lines
367 B
Plaintext

# Configuration for the OCaml compiler
if [[ -z $OPAMROOT ]]
then
export PATH="${QP_ROOT}/external/opampack/:$PATH"
if [[ -f "${QP_ROOT}/external/opampack/opam" ]] ; then
eval $("${QP_ROOT}/external/opampack/opam" env --root "${QP_ROOT}/external/opampack/opamroot" --set-root)
fi
fi
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true