more robust "switch create";
disable sandboxing to avoid dependency on bubblewrap (unavailable on Ubuntu 16.04);
--- a/lib/Tools/ocaml_setup Thu Mar 21 12:41:58 2019 +0100
+++ b/lib/Tools/ocaml_setup Thu Mar 21 13:34:37 2019 +0100
@@ -8,9 +8,9 @@
if [ -e "$ISABELLE_OPAM_ROOT/config" ]
then
- isabelle_opam switch "$ISABELLE_OCAML_VERSION"
+ isabelle_opam switch create "ocaml-base-compiler.$ISABELLE_OCAML_VERSION"
else
- isabelle_opam init --no-setup --compiler="$ISABELLE_OCAML_VERSION"
+ isabelle_opam init --disable-sandboxing --no-setup --compiler="ocaml-base-compiler.$ISABELLE_OCAML_VERSION"
fi
isabelle_opam install zarith -y