this repo has no description
0
fork

Configure Feed

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

Merge pull request #26846 from Octachron/OCaml_5.2.1_rc1

OCaml 5.2.1: first release candidate

authored by

Anil Madhavapeddy and committed by
GitHub
a420fd72 0212924b

+236
+99
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.1~rc1/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "First release candidate of OCaml 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 + "ocaml-beta" {opam-version < "2.1.0"} 24 + 25 + # Architecture (non-Windows) 26 + # opam-repository at present requires that ocaml-base-compiler is installed 27 + # using an architecture which matches the machine's, since arch is used in 28 + # available fields. Cross-compilation at this stage is an unstable accident. 29 + "host-arch-arm32" {arch = "arm32" & post} 30 + "host-arch-arm64" {arch = "arm64" & post} 31 + "host-arch-ppc64" {arch = "ppc64" & post} 32 + "host-arch-riscv64" {arch = "riscv64" & post} 33 + "host-arch-s390x" {arch = "s390x" & post} 34 + # The Windows ports explicitly select the architecture (see below) this 35 + # facility is not yet available for other platforms. 36 + "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 37 + "host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} 38 + "host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post} 39 + 40 + # Port selection (Windows) 41 + # amd64 mingw-w64 only 42 + (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 43 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 44 + # i686 mingw-w64 only 45 + ("arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" & 46 + "system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build}) | 47 + # Non-Windows systems 48 + "host-system-other" {os != "win32" & post}) 49 + 50 + # OCaml with default configuration (no flambda, TSAN, etc.) 51 + "ocaml-options-vanilla" {post} 52 + "ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"} 53 + 54 + # Support Packages 55 + "flexdll" {>= "0.42" & os = "win32"} 56 + ] 57 + conflicts: "system-msvc" 58 + conflict-class: "ocaml-core-compiler" 59 + flags: [ compiler avoid-version ] 60 + setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 61 + x-env-path-rewrite: [ 62 + [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 63 + ] 64 + build: [ 65 + [ 66 + "./configure" 67 + "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 68 + "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 69 + "--prefix=%{prefix}%" 70 + "--docdir=%{doc}%/ocaml" 71 + "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 72 + "-C" 73 + "CC=cc" {os = "openbsd" | os = "macos"} 74 + "ASPP=cc -c" {os = "openbsd" | os = "macos"} 75 + ] 76 + [make "-j%{jobs}%"] 77 + ] 78 + install: [make "install"] 79 + url { 80 + src: "https://github.com/ocaml/ocaml/archive/5.2.1-rc1.tar.gz" 81 + checksum: "sha256=24a1072a1533de8b5908e19293ba2ba80f0b9f6022a6c60b5d034b6f63ee3ad9" 82 + } 83 + post-messages: [ 84 + "A failure in the middle of the build may be caused by build parallelism 85 + (enabled by default). 86 + Please file a bug report at https://github.com/ocaml/opam-repository/issues" 87 + {failure & jobs > 1} 88 + "You can try installing again including --jobs=1 89 + to force a sequential build instead." 90 + {failure & jobs > 1 & opam-version >= "2.0.5"} 91 + ] 92 + extra-source "ocaml-base-compiler.install" { 93 + src: 94 + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" 95 + checksum: [ 96 + "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 97 + "md5=3e969b841df1f51ca448e6e6295cb451" 98 + ] 99 + }
+137
packages/ocaml-variants/ocaml-variants.5.2.1~rc1+options/opam
··· 1 + opam-version: "2.0" 2 + license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3 + synopsis: "First release candidate 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 + "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 + [LSAN_OPTIONS = "detect_leaks=0,exitcode=0"] 72 + [ASAN_OPTIONS = "detect_leaks=0,exitcode=0"] 73 + ] 74 + build: [ 75 + [ 76 + "./configure" 77 + "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 78 + "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 79 + "--prefix=%{prefix}%" 80 + "--docdir=%{doc}%/ocaml" 81 + "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 82 + "-C" 83 + "--with-afl" {ocaml-option-afl:installed} 84 + "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 85 + "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 86 + "--enable-flambda" {ocaml-option-flambda:installed} 87 + "--enable-frame-pointers" {ocaml-option-fp:installed} 88 + "--without-zstd" {ocaml-option-no-compression:installed} 89 + "--enable-tsan" {ocaml-option-tsan:installed} 90 + "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 91 + "CC=clang" {ocaml-option-tsan:installed & (os="macos")} 92 + "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 93 + "CFLAGS=-Os" {ocaml-option-musl:installed} 94 + "LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")} 95 + "CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed} 96 + "CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"} 97 + "CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"} 98 + "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 99 + "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 100 + "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 101 + "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 102 + "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 103 + "LIBS=-static" {ocaml-option-static:installed} 104 + "--disable-warn-error" 105 + ] 106 + [make "-j%{jobs}%"] 107 + ] 108 + install: [make "install"] 109 + url { 110 + src: "https://github.com/ocaml/ocaml/archive/5.2.1-rc1.tar.gz" 111 + checksum: "sha256=24a1072a1533de8b5908e19293ba2ba80f0b9f6022a6c60b5d034b6f63ee3ad9" 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 + ] 130 + extra-source "ocaml-variants.install" { 131 + src: 132 + "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/ocaml-variants.install" 133 + checksum: [ 134 + "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 135 + "md5=3e969b841df1f51ca448e6e6295cb451" 136 + ] 137 + }