9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-09 06:53:38 +01:00
qp2/etc/ocaml.rc

13 lines
367 B
Plaintext
Raw Normal View History

2019-01-25 11:39:31 +01:00
# Configuration for the OCaml compiler
if [[ -z $OPAMROOT ]]
then
2023-01-31 08:42:39 +01:00
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)
2021-07-05 19:19:45 +02:00
fi
2019-01-25 11:39:31 +01:00
fi
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true