lib/Tools/ocaml_setup
author nipkow
Thu, 21 Mar 2019 19:46:12 +0100
changeset 69943 deb05b4c48ba
parent 69938 564985d6867e
child 69942 2c48be88f847
permissions -rwxr-xr-x
tuyned

#!/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