lib/Tools/ocaml_setup
changeset 69936 772bdd1ed843
parent 69928 3ed262d72468
child 69938 564985d6867e
--- 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