author | wenzelm |
Thu, 08 Nov 2018 15:52:10 +0100 | |
changeset 69267 | 517655a528fe |
parent 69261 | a41f49148525 |
permissions | -rwxr-xr-x |
#!/usr/bin/env bash # # Author: Makarius # # DESCRIPTION: invoke OCaml compiler within the Isabelle environment if [ -d "$ISABELLE_OPAM_ROOT" -a -n "$ISABELLE_OCAMLC" ] then isabelle_opam config exec --switch "$ISABELLE_OCAML_VERSION" -- ocamlc "$@" else echo "Cannot execute ocamlc: missing Isabelle OCaml setup" >&2 exit 127 fi