this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #26909 from Octachron/ocaml-5.2.1

Release of OCaml 5.2.1

authored by

Marcello Seri and committed by
GitHub
11bdbee6 9f59ecb9

+463 -111
+88
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.1/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Official release 5.2.1" 3 + maintainer: [ 4 + "David Allsopp <david@tarides.com>" 5 + "Florian Angeletti <florian.angeletti@inria.fr>" 6 + ] 7 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 8 + authors: "Xavier Leroy and many contributors" 9 + homepage: "https://ocaml.org" 10 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 11 + dev-repo: "git+https://github.com/ocaml/ocaml#5.2" 12 + depends: [ 13 + # This is OCaml 5.2.1 14 + "ocaml" {= "5.2.1" & post} 15 + 16 + # General base- packages 17 + "base-unix" {post} 18 + "base-bigarray" {post} 19 + "base-threads" {post} 20 + "base-domains" {post} 21 + "base-nnp" {post} 22 + 23 + # Architecture (non-Windows) 24 + # opam-repository at present requires that ocaml-base-compiler is installed 25 + # using an architecture which matches the machine's, since arch is used in 26 + # available fields. Cross-compilation at this stage is an unstable accident. 27 + "host-arch-arm32" {arch = "arm32" & post} 28 + "host-arch-arm64" {arch = "arm64" & post} 29 + "host-arch-ppc64" {arch = "ppc64" & post} 30 + "host-arch-riscv64" {arch = "riscv64" & post} 31 + "host-arch-s390x" {arch = "s390x" & post} 32 + # The Windows ports explicitly select the architecture (see below) this 33 + # facility is not yet available for other platforms. 34 + "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 35 + "host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} 36 + "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 37 + 38 + # Port selection (Windows) 39 + # amd64 mingw-w64 only 40 + (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 41 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 42 + # i686 mingw-w64 only 43 + ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" & 44 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 45 + # Non-Windows systems 46 + "host-system-other" {os != "win32" & post}) 47 + 48 + # OCaml with default configuration (no flambda, TSAN, etc.) 49 + "ocaml-options-vanilla" {post} 50 + "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 51 + 52 + # Support Packages 53 + "flexdll" {>= "0.42" & os = "win32"} 54 + ] 55 + conflicts: "system-msvc" 56 + conflict-class: "ocaml-core-compiler" 57 + flags: compiler 58 + setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 59 + x-env-path-rewrite: [ 60 + [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 61 + ] 62 + build: [ 63 + [ 64 + "./configure" 65 + "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 66 + "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 67 + "--prefix=%{prefix}%" 68 + "--docdir=%{doc}%/ocaml" 69 + "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 70 + "-C" 71 + "CC=cc" {os = "openbsd" | os = "macos"} 72 + "ASPP=cc -c" {os = "openbsd" | os = "macos"} 73 + ] 74 + [make "-j%{jobs}%"] 75 + ] 76 + install: [make "install"] 77 + url { 78 + src: "https://github.com/ocaml/ocaml/releases/download/5.2.1/ocaml-5.2.1.tar.gz" 79 + checksum: "sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0" 80 + } 81 + extra-source "ocaml-base-compiler.install" { 82 + src: 83 + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" 84 + checksum: [ 85 + "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 86 + "md5=3e969b841df1f51ca448e6e6295cb451" 87 + ] 88 + }
+71
packages/ocaml-system/ocaml-system.5.2.1/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "The OCaml compiler (system version, from outside of opam)" 3 + maintainer: [ 4 + "David Allsopp <david@tarides.com>" 5 + "Florian Angeletti <florian.angeletti@inria.fr>" 6 + ] 7 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 8 + authors: "Xavier Leroy and many contributors" 9 + homepage: "https://ocaml.org" 10 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 11 + dev-repo: "git+https://github.com/ocaml/ocaml" 12 + depends: [ 13 + # This is OCaml 5.2.1 14 + "ocaml" {= "5.2.1" & post} 15 + 16 + # General base- packages 17 + "base-unix" {post} 18 + "base-threads" {post} 19 + "base-bigarray" {post} 20 + "base-domains" {post} 21 + "base-nnp" {post} 22 + 23 + # Architecture 24 + "host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post} 25 + "host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post} 26 + "host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post} 27 + "host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post} 28 + "host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post} 29 + "host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post} 30 + "host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post} 31 + "host-arch-unknown" {!(?sys-ocaml-arch) | 32 + sys-ocaml-arch != "arm" & 33 + sys-ocaml-arch != "arm64" & 34 + sys-ocaml-arch != "power" & 35 + sys-ocaml-arch != "riscv" & 36 + sys-ocaml-arch != "s390x" & 37 + sys-ocaml-arch != "i686" & 38 + sys-ocaml-arch != "x86_64" & post} 39 + 40 + # System (Windows-only at present) 41 + "host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post} 42 + # There is no official MSVC support for 5.2.1 43 + "host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post} 44 + "host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post} 45 + 46 + # Environment configuration (Windows-only) 47 + # NB There are not "system" distributions of OCaml on Windows; the support 48 + # here is intended for binary caching setups, choosing to install a build 49 + # of OCaml external to opam, but still using opam to provide the C compiler 50 + # configuration. 51 + "conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post} 52 + "conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post} 53 + "conf-mingw-w64-zstd-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post} 54 + "conf-mingw-w64-zstd-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post} 55 + "mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post} 56 + "ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post} 57 + "ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post} 58 + ] 59 + conflict-class: "ocaml-core-compiler" 60 + available: sys-ocaml-version = "5.2.1" & (os != "win32" | sys-ocaml-libc = "msvc") 61 + flags: compiler 62 + build: ["ocaml" "gen_ocaml_config.ml"] 63 + substs: "gen_ocaml_config.ml" 64 + extra-source "gen_ocaml_config.ml.in" { 65 + src: 66 + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-system/gen_ocaml_config.ml.in" 67 + checksum: [ 68 + "sha256=71bcd3d35e28cbf71eda81991c8741268f4b87ced71573b2e75f64f136cebfc1" 69 + "md5=093e7bec1ec95f9e4c6a313d73c5d840" 70 + ] 71 + }
+136
packages/ocaml-variants/ocaml-variants.5.2.1+options/opam
··· 1 + opam-version: "2.0" 2 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 + synopsis: "Official release of OCaml 5.2.1" 4 + maintainer: [ 5 + "David Allsopp <david@tarides.com>" 6 + "Florian Angeletti <florian.angeletti@inria.fr>" 7 + ] 8 + authors: [ 9 + "Xavier Leroy" 10 + "Damien Doligez" 11 + "Alain Frisch" 12 + "Jacques Garrigue" 13 + "Didier Rémy" 14 + "Jérôme Vouillon" 15 + ] 16 + homepage: "https://ocaml.org" 17 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 18 + dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2" 19 + depends: [ 20 + # This is OCaml 5.2.1 21 + "ocaml" {= "5.2.1" & post} 22 + 23 + # General base- packages 24 + "base-unix" {post} 25 + "base-bigarray" {post} 26 + "base-threads" {post} 27 + "base-domains" {post} 28 + "base-nnp" {post} 29 + 30 + # Architecture (non-Windows) 31 + # opam-repository at present requires that ocaml-base-compiler is installed 32 + # using an architecture which matches the machine's, since arch is used in 33 + # available fields. Cross-compilation at this stage is an unstable accident. 34 + "host-arch-arm32" {arch = "arm32" & post} 35 + "host-arch-arm64" {arch = "arm64" & post} 36 + "host-arch-ppc64" {arch = "ppc64" & post} 37 + "host-arch-riscv64" {arch = "riscv64" & post} 38 + "host-arch-s390x" {arch = "s390x" & post} 39 + # The Windows ports explicitly select the architecture (see below) this 40 + # facility is not yet available for other platforms. 41 + "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 42 + ("host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} | 43 + ("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32" & arch = "x86_64"})) 44 + "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 45 + 46 + # Port selection (Windows) 47 + # amd64 mingw-w64 only 48 + (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 49 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 50 + # i686 mingw-w64 only 51 + ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" {os = "win32"} & 52 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 53 + # Non-Windows systems 54 + "host-system-other" {os != "win32" & post}) 55 + 56 + # All the 32-bit architectures are bytecode-only 57 + "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 58 + 59 + # Support Packages 60 + "flexdll" {>= "0.42" & os = "win32"} 61 + ] 62 + conflict-class: "ocaml-core-compiler" 63 + flags: compiler 64 + setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 65 + x-env-path-rewrite: [ 66 + [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 67 + ] 68 + build-env: [ 69 + [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 70 + [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 71 + ] 72 + build: [ 73 + [ 74 + "./configure" 75 + "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 76 + "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 77 + "--prefix=%{prefix}%" 78 + "--docdir=%{doc}%/ocaml" 79 + "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 80 + "-C" 81 + "--with-afl" {ocaml-option-afl:installed} 82 + "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 83 + "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 84 + "--enable-flambda" {ocaml-option-flambda:installed} 85 + "--enable-frame-pointers" {ocaml-option-fp:installed} 86 + "--without-zstd" {ocaml-option-no-compression:installed} 87 + "--enable-tsan" {ocaml-option-tsan:installed} 88 + "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 89 + "CC=clang" {ocaml-option-tsan:installed & (os="macos")} 90 + "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 91 + "CFLAGS=-Os" {ocaml-option-musl:installed & arch!="arm64"} 92 + "CFLAGS=-Os -mno-outline-atomics" {ocaml-option-musl:installed & arch="arm64"} 93 + "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")} 94 + "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed} 95 + "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"} 96 + "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"} 97 + "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 98 + "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 99 + "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 100 + "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 101 + "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 102 + "LIBS=-static" {ocaml-option-static:installed} 103 + "--disable-warn-error" 104 + ] 105 + [make "-j%{jobs}%"] 106 + ] 107 + install: [make "install"] 108 + url { 109 + src: "https://github.com/ocaml/ocaml/releases/download/5.2.1/ocaml-5.2.1.tar.gz" 110 + checksum: "sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0" 111 + } 112 + conflicts: [ 113 + "system-msvc" 114 + ] 115 + depopts: [ 116 + "ocaml-option-32bit" 117 + "ocaml-option-afl" 118 + "ocaml-option-bytecode-only" 119 + "ocaml-option-no-flat-float-array" 120 + "ocaml-option-flambda" 121 + "ocaml-option-fp" 122 + "ocaml-option-no-compression" 123 + "ocaml-option-musl" 124 + "ocaml-option-leak-sanitizer" 125 + "ocaml-option-address-sanitizer" 126 + "ocaml-option-static" 127 + "ocaml-option-tsan" 128 + ] 129 + extra-source "ocaml-variants.install" { 130 + src: 131 + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/ocaml-variants.install" 132 + checksum: [ 133 + "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 134 + "md5=3e969b841df1f51ca448e6e6295cb451" 135 + ] 136 + }
+3 -111
packages/ocaml-variants/ocaml-variants.5.2.1+trunk/opam
··· 1 1 opam-version: "2.0" 2 2 license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 - synopsis: "Latest 5.2 development" 3 + synopsis: "5.2.0 obsolete development package" 4 + description: "Replaced with ocaml-variants.5.2.2+trunk" 4 5 maintainer: [ 5 6 "David Allsopp <david@tarides.com>" 6 7 "Florian Angeletti <florian.angeletti@inria.fr>" ··· 16 17 homepage: "https://ocaml.org" 17 18 bug-reports: "https://github.com/ocaml/opam-repository/issues" 18 19 dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2" 19 - depends: [ 20 - # This is OCaml 5.2.1 21 - "ocaml" {= "5.2.1" & post} 22 - 23 - # General base- packages 24 - "base-unix" {post} 25 - "base-bigarray" {post} 26 - "base-threads" {post} 27 - "base-domains" {post} 28 - "base-nnp" {post} 29 - 30 - "ocaml-beta" {opam-version < "2.1.0"} 31 - 32 - # Architecture (non-Windows) 33 - # opam-repository at present requires that ocaml-base-compiler is installed 34 - # using an architecture which matches the machine's, since arch is used in 35 - # available fields. Cross-compilation at this stage is an unstable accident. 36 - "host-arch-arm32" {arch = "arm32" & post} 37 - "host-arch-arm64" {arch = "arm64" & post} 38 - "host-arch-ppc64" {arch = "ppc64" & post} 39 - "host-arch-riscv64" {arch = "riscv64" & post} 40 - "host-arch-s390x" {arch = "s390x" & post} 41 - # The Windows ports explicitly select the architecture (see below) this 42 - # facility is not yet available for other platforms. 43 - "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 44 - ("host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} | 45 - ("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32" & arch = "x86_64"})) 46 - "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 47 - 48 - # Port selection (Windows) 49 - # amd64 mingw-w64 only 50 - (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 51 - "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 52 - # i686 mingw-w64 only 53 - ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" {os = "win32"} & 54 - "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 55 - # Non-Windows systems 56 - "host-system-other" {os != "win32" & post}) 57 - 58 - # All the 32-bit architectures are bytecode-only 59 - "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 60 - 61 - # Support Packages 62 - "flexdll" {>= "0.42" & os = "win32"} 63 - ] 64 - conflict-class: "ocaml-core-compiler" 65 20 flags: [ compiler avoid-version ] 66 - setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 67 - x-env-path-rewrite: [ 68 - [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 69 - ] 70 - build-env: [ 71 - [MSYS2_ARG_CONV_EXCL = "*"] 72 - [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 73 - [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 74 - ] 75 - build: [ 76 - [ 77 - "./configure" 78 - "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 79 - "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 80 - "--prefix=%{prefix}%" 81 - "--docdir=%{doc}%/ocaml" 82 - "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 83 - "-C" 84 - "--with-afl" {ocaml-option-afl:installed} 85 - "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 86 - "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 87 - "--enable-flambda" {ocaml-option-flambda:installed} 88 - "--enable-frame-pointers" {ocaml-option-fp:installed} 89 - "--without-zstd" {ocaml-option-no-compression:installed} 90 - "--enable-tsan" {ocaml-option-tsan:installed} 91 - "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 92 - "CC=clang" {ocaml-option-tsan:installed & (os="macos")} 93 - "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 94 - "CFLAGS=-Os" {ocaml-option-musl:installed} 95 - "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")} 96 - "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed} 97 - "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"} 98 - "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"} 99 - "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 100 - "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 101 - "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 102 - "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 103 - "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 104 - "LIBS=-static" {ocaml-option-static:installed} 105 - "--disable-warn-error" 106 - ] 107 - [make "-j%{jobs}%"] 108 - ] 109 - install: [make "install"] 110 - url { 111 - src: "https://github.com/ocaml/ocaml/archive/5.2.tar.gz" 112 - } 113 - conflicts: [ 114 - "system-msvc" 115 - ] 116 - depopts: [ 117 - "ocaml-option-32bit" 118 - "ocaml-option-afl" 119 - "ocaml-option-bytecode-only" 120 - "ocaml-option-no-flat-float-array" 121 - "ocaml-option-flambda" 122 - "ocaml-option-fp" 123 - "ocaml-option-no-compression" 124 - "ocaml-option-musl" 125 - "ocaml-option-leak-sanitizer" 126 - "ocaml-option-address-sanitizer" 127 - "ocaml-option-static" 128 - "ocaml-option-tsan" 129 - ] 21 + available: false
+129
packages/ocaml-variants/ocaml-variants.5.2.2+trunk/opam
··· 1 + opam-version: "2.0" 2 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 + synopsis: "Latest 5.2 development" 4 + maintainer: [ 5 + "David Allsopp <david@tarides.com>" 6 + "Florian Angeletti <florian.angeletti@inria.fr>" 7 + ] 8 + authors: [ 9 + "Xavier Leroy" 10 + "Damien Doligez" 11 + "Alain Frisch" 12 + "Jacques Garrigue" 13 + "Didier Rémy" 14 + "Jérôme Vouillon" 15 + ] 16 + homepage: "https://ocaml.org" 17 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 18 + dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2" 19 + depends: [ 20 + # This is OCaml 5.2.2 21 + "ocaml" {= "5.2.2" & post} 22 + 23 + # General base- packages 24 + "base-unix" {post} 25 + "base-bigarray" {post} 26 + "base-threads" {post} 27 + "base-domains" {post} 28 + "base-nnp" {post} 29 + 30 + "ocaml-beta" {opam-version < "2.1.0"} 31 + 32 + # Architecture (non-Windows) 33 + # opam-repository at present requires that ocaml-base-compiler is installed 34 + # using an architecture which matches the machine's, since arch is used in 35 + # available fields. Cross-compilation at this stage is an unstable accident. 36 + "host-arch-arm32" {arch = "arm32" & post} 37 + "host-arch-arm64" {arch = "arm64" & post} 38 + "host-arch-ppc64" {arch = "ppc64" & post} 39 + "host-arch-riscv64" {arch = "riscv64" & post} 40 + "host-arch-s390x" {arch = "s390x" & post} 41 + # The Windows ports explicitly select the architecture (see below) this 42 + # facility is not yet available for other platforms. 43 + "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 44 + ("host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} | 45 + ("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32" & arch = "x86_64"})) 46 + "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 47 + 48 + # Port selection (Windows) 49 + # amd64 mingw-w64 only 50 + (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 51 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 52 + # i686 mingw-w64 only 53 + ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" {os = "win32"} & 54 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 55 + # Non-Windows systems 56 + "host-system-other" {os != "win32" & post}) 57 + 58 + # All the 32-bit architectures are bytecode-only 59 + "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 60 + 61 + # Support Packages 62 + "flexdll" {>= "0.42" & os = "win32"} 63 + ] 64 + conflict-class: "ocaml-core-compiler" 65 + flags: [ compiler avoid-version ] 66 + setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 67 + x-env-path-rewrite: [ 68 + [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 69 + ] 70 + build-env: [ 71 + [MSYS2_ARG_CONV_EXCL = "*"] 72 + [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 73 + [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 74 + ] 75 + build: [ 76 + [ 77 + "./configure" 78 + "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 79 + "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 80 + "--prefix=%{prefix}%" 81 + "--docdir=%{doc}%/ocaml" 82 + "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 83 + "-C" 84 + "--with-afl" {ocaml-option-afl:installed} 85 + "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 86 + "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 87 + "--enable-flambda" {ocaml-option-flambda:installed} 88 + "--enable-frame-pointers" {ocaml-option-fp:installed} 89 + "--without-zstd" {ocaml-option-no-compression:installed} 90 + "--enable-tsan" {ocaml-option-tsan:installed} 91 + "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 92 + "CC=clang" {ocaml-option-tsan:installed & (os="macos")} 93 + "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 94 + "CFLAGS=-Os" {ocaml-option-musl:installed} 95 + "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")} 96 + "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed} 97 + "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"} 98 + "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"} 99 + "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 100 + "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 101 + "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 102 + "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 103 + "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 104 + "LIBS=-static" {ocaml-option-static:installed} 105 + "--disable-warn-error" 106 + ] 107 + [make "-j%{jobs}%"] 108 + ] 109 + install: [make "install"] 110 + url { 111 + src: "https://github.com/ocaml/ocaml/archive/5.2.tar.gz" 112 + } 113 + conflicts: [ 114 + "system-msvc" 115 + ] 116 + depopts: [ 117 + "ocaml-option-32bit" 118 + "ocaml-option-afl" 119 + "ocaml-option-bytecode-only" 120 + "ocaml-option-no-flat-float-array" 121 + "ocaml-option-flambda" 122 + "ocaml-option-fp" 123 + "ocaml-option-no-compression" 124 + "ocaml-option-musl" 125 + "ocaml-option-leak-sanitizer" 126 + "ocaml-option-address-sanitizer" 127 + "ocaml-option-static" 128 + "ocaml-option-tsan" 129 + ]
+36
packages/ocaml/ocaml.5.2.2/opam
··· 1 + opam-version: "2.0" 2 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 + synopsis: "The OCaml compiler (virtual package)" 4 + description: """ 5 + This package requires a matching implementation of OCaml, 6 + and polls it to initialise specific variables like `ocaml:native-dynlink`""" 7 + maintainer: "David Allsopp <david@tarides.com>" 8 + depends: [ 9 + "ocaml-config" {>= "3"} 10 + "ocaml-base-compiler" {>= "5.2.2~" & < "5.2.3~" } | 11 + "ocaml-variants" {>= "5.2.2~" & < "5.2.3~"} | 12 + "ocaml-system" {>= "5.2.2~" & < "5.2.3~"} | 13 + "dkml-base-compiler" {>= "5.2.2~" & < "5.2.3~"} 14 + ] 15 + setenv: [ 16 + [CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"] 17 + [CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"] 18 + [OCAML_TOPLEVEL_PATH = "%{toplevel}%"] 19 + ] 20 + build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name] 21 + build-env: [ 22 + [CAML_LD_LIBRARY_PATH = ""] 23 + [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 24 + [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 25 + ] 26 + homepage: "https://ocaml.org" 27 + bug-reports: "https://github.com/ocaml/opam-repository/issues" 28 + authors: [ 29 + "Xavier Leroy" 30 + "Damien Doligez" 31 + "Alain Frisch" 32 + "Jacques Garrigue" 33 + "Didier Rémy" 34 + "Jérôme Vouillon" 35 + ] 36 + flags: conf