2019-01-25 11:39:31 +01:00
|
|
|
# Configuration for the OCaml compiler
|
|
|
|
|
|
|
|
if [[ -z $OPAMROOT ]]
|
|
|
|
then
|
|
|
|
|
|
|
|
# Comment these lines if you have a system-wide OCaml installation
|
2021-07-05 15:37:33 +02:00
|
|
|
export PATH="${QP_ROOT}/external/ocaml-bundle/bootstrap/bin:$PATH"
|
2021-07-05 19:19:45 +02:00
|
|
|
if [[ -f "${QP_ROOT}/external/ocaml-bundle/bootstrap/bin/opam" ]] ; then
|
|
|
|
eval $(opam env --root "${QP_ROOT}/external/ocaml-bundle/opam" --set-root)
|
|
|
|
fi
|
2019-01-25 11:39:31 +01:00
|
|
|
fi
|
|
|
|
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
|
|
|
|
|
|
|
|