10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-18 20:12:57 +01:00
QuantumPackage/etc/ocaml.rc
2021-07-05 16:53:34 +02:00

14 lines
359 B
Plaintext

# Configuration for the OCaml compiler
if [[ -z $OPAMROOT ]]
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)
fi
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true