lib/Tools/ocaml_setup
author haftmann
Thu, 14 Mar 2019 19:06:40 +0100
changeset 69911 036037573080
parent 69500 db001bc11855
child 69924 512ac874bb9d
permissions -rwxr-xr-x
include zarith in the default opam setup

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

set -e

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

isabelle_opam install zarith