lib/scripts/ocamlfind
author paulson <lp15@cam.ac.uk>
Sun, 19 Apr 2020 22:16:57 +0100
changeset 71771 7c0de1eb6075
parent 69948 a591de179931
permissions -rwxr-xr-x
removal of symmetries in Polytope, plus some tidying

#!/usr/bin/env bash
#
# Author: Makarius; Florian Haftmann
#
# Invoke ocamlfind via "opam".

if [ -d "$ISABELLE_OPAM_ROOT/$ISABELLE_OCAML_VERSION/bin" ]
then
  isabelle_opam config exec --switch "$ISABELLE_OCAML_VERSION" -- ocamlfind "$@"
else
  echo "Cannot execute ocamlfind: missing Isabelle OCaml setup" >&2
  exit 127
fi