lib/Tools/ocaml_setup
author wenzelm
Thu, 21 Mar 2019 14:54:25 +0100
changeset 69938 564985d6867e
parent 69936 772bdd1ed843
child 69942 2c48be88f847
permissions -rwxr-xr-x
proper ISABELLE_OCAML_VERSION;

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

set -e

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

isabelle_opam install zarith -y