lib/Tools/ocaml_setup
changeset 73405 8510c6e98228
parent 69948 a591de179931
child 81825 c551d4a418b9
equal deleted inserted replaced
73404:299f6a8faccc 73405:8510c6e98228
    11   isabelle_opam switch -y "$ISABELLE_OCAML_VERSION"
    11   isabelle_opam switch -y "$ISABELLE_OCAML_VERSION"
    12 elif [ -e "$ISABELLE_OPAM_ROOT/config" ]
    12 elif [ -e "$ISABELLE_OPAM_ROOT/config" ]
    13 then
    13 then
    14   isabelle_opam switch create -y "$ISABELLE_OCAML_VERSION"
    14   isabelle_opam switch create -y "$ISABELLE_OCAML_VERSION"
    15 else
    15 else
       
    16   mkdir -p "$ISABELLE_OPAM_ROOT"
       
    17   cd "$ISABELLE_OPAM_ROOT"
    16   isabelle_opam init -y --disable-sandboxing --no-setup --compiler="$ISABELLE_OCAML_VERSION"
    18   isabelle_opam init -y --disable-sandboxing --no-setup --compiler="$ISABELLE_OCAML_VERSION"
    17 fi
    19 fi
    18 
    20 
    19 isabelle_opam install -y zarith
    21 isabelle_opam install -y zarith