├── repo ├── README.md ├── Dockerfile └── packages ├── ocaml-variants.4.05.0+ocamlnat └── opam ├── ocaml-variants.4.07.1+ocamlnat └── opam ├── ocaml-variants.4.14.2+ocamlnat └── opam ├── ocaml-variants.5.2.0+ocamlnat └── opam └── ocaml-variants.5.2.0~rc1+ocamlnat └── opam /repo: -------------------------------------------------------------------------------- 1 | opam-version: "2.0" 2 | archive-mirrors: "cache" 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | ``` 3 | opam repo add --set-default ocamlnat git+https://github.com/dbuenzli/opam-repo-ocamlnat.git 4 | opam update 5 | opam switch create 5.2.0+ocamlnat 6 | rlwrap ocamlnat -noinit 7 | ``` 8 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ocaml/opam-dev:alpine-3.3_ocaml-4.05.0 2 | RUN sudo sh -c 'sed -i -e 's/v3\.3/edge/g' /etc/apk/repositories' 3 | RUN sudo sh -c 'echo http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories' 4 | RUN sudo apk update 5 | RUN sudo apk add m4 rlwrap 6 | RUN opam repo add --set-default ocamlnat git+https://github.com/dbuenzli/opam-repo-ocamlnat.git 7 | RUN opam update 8 | RUN opam switch create 4.05.0+ocamlnat 9 | ENTRYPOINT [ "opam", "config", "exec", "--" ] 10 | CMD [ "bash" ] -------------------------------------------------------------------------------- /packages/ocaml-variants.4.05.0+ocamlnat/opam: -------------------------------------------------------------------------------- 1 | opam-version: "2.0" 2 | synopsis: "Official 4.05.0 release with native toplevel" 3 | maintainer: "platform@lists.ocaml.org" 4 | authors: "The OCaml dev team" 5 | homepage:"http://ocaml.org" 6 | depends: ["base-unix" "base-bigarray" "base-threads"] 7 | conflict-class: "ocaml-core-compiler" 8 | flags: compiler 9 | setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 10 | build: [ 11 | ["./configure" "-prefix" prefix ] 12 | [make "world"] 13 | [make "world.opt"] 14 | [make "ocamlnat"] 15 | ] 16 | install: [make "install"] 17 | url { 18 | src: "https://github.com/ocaml/ocaml/archive/4.05.0.tar.gz" 19 | checksum: "md5=7e0079162134336a24b9028349c756bb" 20 | } 21 | -------------------------------------------------------------------------------- /packages/ocaml-variants.4.07.1+ocamlnat/opam: -------------------------------------------------------------------------------- 1 | opam-version: "2.0" 2 | synopsis: "Official 4.07.1 release with native toplevel" 3 | maintainer: "platform@lists.ocaml.org" 4 | authors: "The OCaml dev team" 5 | homepage:"http://ocaml.org" 6 | depends: ["base-unix" "base-bigarray" "base-threads"] 7 | conflict-class: "ocaml-core-compiler" 8 | flags: compiler 9 | setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 10 | build: [ 11 | ["./configure" "-prefix" prefix ] 12 | [make "world"] 13 | [make "world.opt"] 14 | [make "ocamlnat"] 15 | ] 16 | install: [make "install"] 17 | url { 18 | src: "https://github.com/ocaml/ocaml/archive/4.07.1.tar.gz" 19 | checksum: "md5=352fe8d46cb238a26aa10c38bad6ecb6" 20 | } 21 | -------------------------------------------------------------------------------- /packages/ocaml-variants.4.14.2+ocamlnat/opam: -------------------------------------------------------------------------------- 1 | opam-version: "2.0" 2 | synopsis: "Official 4.14.2 release with native toplevel" 3 | maintainer: "platform@lists.ocaml.org" 4 | authors: "The OCaml dev team" 5 | homepage:"http://ocaml.org" 6 | depends: ["base-unix" "base-bigarray" "base-threads"] 7 | conflict-class: "ocaml-core-compiler" 8 | flags: compiler 9 | setenv: [ 10 | [CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"] 11 | [OCAMLTOP_INCLUDE_PATH = "%{toplevel}%"] 12 | ] 13 | build: [ 14 | ["./configure" "-prefix" prefix "--enable-native-toplevel" ] 15 | [make "world"] 16 | [make "world.opt"] 17 | [make "ocamlnat"] 18 | ] 19 | install: [make "install"] 20 | url { 21 | src: "https://github.com/ocaml/ocaml/archive/4.14.2.tar.gz" 22 | checksum: "md5=b28daefda803b5d5910cecf085b1451c" 23 | } 24 | -------------------------------------------------------------------------------- /packages/ocaml-variants.5.2.0+ocamlnat/opam: -------------------------------------------------------------------------------- 1 | opam-version: "2.0" 2 | synopsis: "Official 5.2.0 release with native toplevel" 3 | maintainer: "platform@lists.ocaml.org" 4 | authors: "The OCaml dev team" 5 | homepage:"http://ocaml.org" 6 | depends: ["base-unix" "base-bigarray" "base-threads"] 7 | conflict-class: "ocaml-core-compiler" 8 | flags: compiler 9 | setenv: [ 10 | [CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"] 11 | [OCAMLTOP_INCLUDE_PATH = "%{toplevel}%"] 12 | ] 13 | build: [ 14 | ["./configure" "-prefix" prefix "--enable-native-toplevel" ] 15 | [make "world"] 16 | [make "world.opt"] 17 | [make "ocamlnat"] 18 | ] 19 | install: [make "install"] 20 | url { 21 | src: "https://github.com/ocaml/ocaml/archive/5.2.0.tar.gz" 22 | checksum: "sha512=78115690186c13c1f2480e4812a9fe34cce2c28bf8a89d5c9810bca0391f930cecd9cee2b53daca8a32da1815628b33be68f3948f1ad03fa50b72b14e3ea84f2" 23 | } 24 | -------------------------------------------------------------------------------- /packages/ocaml-variants.5.2.0~rc1+ocamlnat/opam: -------------------------------------------------------------------------------- 1 | opam-version: "2.0" 2 | synopsis: "Official 5.2.0~rc1 release with native toplevel" 3 | maintainer: "platform@lists.ocaml.org" 4 | authors: "The OCaml dev team" 5 | homepage:"http://ocaml.org" 6 | depends: ["base-unix" "base-bigarray" "base-threads"] 7 | conflict-class: "ocaml-core-compiler" 8 | flags: compiler 9 | setenv: [ 10 | [CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"] 11 | [OCAMLTOP_INCLUDE_PATH = "%{toplevel}%"] 12 | ] 13 | build: [ 14 | ["./configure" "-prefix" prefix "--enable-native-toplevel" ] 15 | [make "world"] 16 | [make "world.opt"] 17 | [make "ocamlnat"] 18 | ] 19 | install: [make "install"] 20 | url { 21 | src: "https://github.com/ocaml/ocaml/archive/5.2.0-rc1.tar.gz" 22 | checksum: "sha512=55026b93aae5a0aa8d24a23478655b9928ce3b2f5a4eb8ab25606a3d46ac528c336b0b8f8c41ddf28f8ba5eb20618be23fbc8efed44a23a041dbed803a01171d" 23 | } 24 | --------------------------------------------------------------------------------