lib/Tools/ocaml_setup
author wenzelm
Wed, 20 Mar 2019 21:15:20 +0100
changeset 69928 3ed262d72468
parent 69924 512ac874bb9d
child 69936 772bdd1ed843
permissions -rwxr-xr-x
avoid prompt;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup OCaml via OPAM

set -e

if [ -e "$ISABELLE_OPAM_ROOT/config" ]
then
  isabelle_opam switch "$ISABELLE_OCAML_VERSION"
else
  isabelle_opam init --no-setup --compiler="$ISABELLE_OCAML_VERSION"
fi

isabelle_opam install zarith -y