this repo has no description

Merge pull request #25865 from Octachron/OCaml_5.2.0_release

OCaml 5.2.0 released: compiler and source packages

Changed files
+343 -66
packages
ocaml
ocaml.5.2.1
ocaml-base-compiler
ocaml-base-compiler.5.2.0
ocaml-src
ocaml-src.5.2.0
files
ocaml-system
ocaml-system.5.2.0
ocaml-variants
ocaml-variants.5.2.0+options
ocaml-variants.5.2.0+trunk
ocaml-variants.5.2.1+trunk
+1
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0/files/ocaml-base-compiler.install
···
+
share_root: ["config.cache" {"ocaml/config.cache"}]
+50
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Official release 5.2.0"
+
maintainer: [
+
"David Allsopp <david@tarides.com>"
+
"Florian Angeletti <florian.angeletti@inria.fr>"
+
]
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
authors: "Xavier Leroy and many contributors"
+
homepage: "https://ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
dev-repo: "git+https://github.com/ocaml/ocaml#5.2"
+
depends: [
+
"ocaml" {= "5.2.0" & post}
+
"base-unix" {post}
+
"base-bigarray" {post}
+
"base-threads" {post}
+
"base-domains" {post}
+
"base-nnp" {post}
+
"ocaml-options-vanilla" {post}
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
]
+
conflict-class: "ocaml-core-compiler"
+
flags: compiler
+
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
build: [
+
[
+
"./configure"
+
"--prefix=%{prefix}%"
+
"--docdir=%{doc}%/ocaml"
+
"-C"
+
"CC=cc" {os = "openbsd" | os = "macos"}
+
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+
]
+
[make "-j%{jobs}%"]
+
]
+
install: [make "install"]
+
url {
+
src: "https://github.com/ocaml/ocaml/archive/5.2.0.tar.gz"
+
checksum: "sha256=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911"
+
}
+
extra-files: ["ocaml-base-compiler.install" "md5=3e969b841df1f51ca448e6e6295cb451"]
+
post-messages: [
+
"A failure in the middle of the build may be caused by build parallelism
+
(enabled by default).
+
Please file a bug report at https://github.com/ocaml/opam-repository/issues"
+
{failure & jobs > 1}
+
"You can try installing again including --jobs=1
+
to force a sequential build instead."
+
{failure & jobs > 1 & opam-version >= "2.0.5"}
+
]
+1
packages/ocaml-src/ocaml-src.5.2.0/files/META
···
+
version = "5.2.0"
+17
packages/ocaml-src/ocaml-src.5.2.0/opam
···
+
opam-version: "2.0"
+
maintainer: "opam-devel@lists.ocaml.org"
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
authors: "OCaml contributors"
+
homepage: "http://ocaml.org/"
+
install: ["cp" "-r" "." "%{lib}%/ocaml-src"]
+
synopsis: "Compiler sources"
+
depends: [
+
"ocaml" {= "5.2.0"}
+
]
+
extra-files: ["META" "md5=956c9e9ca08d1dd261ec888f2a876c03"]
+
url {
+
src: "https://github.com/ocaml/ocaml/archive/5.2.0.tar.gz"
+
checksum: "sha256=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911"
+
}
+
+
+43
packages/ocaml-system/ocaml-system.5.2.0/files/gen_ocaml_config.ml.in
···
+
let () =
+
let exe = ".exe" in
+
let ocamlc =
+
let (base, suffix) =
+
let s = Sys.executable_name in
+
if Filename.check_suffix s exe then
+
(Filename.chop_suffix s exe, exe)
+
else
+
(s, "") in
+
base ^ "c" ^ suffix in
+
if Sys.ocaml_version <> "%{_:version}%" then
+
(Printf.eprintf
+
"ERROR: The compiler found at %%s has version %%s,\n\
+
and this package requires %{_:version}%.\n\
+
You should use e.g. 'opam switch create %{_:name}%.%%s' \
+
instead."
+
ocamlc Sys.ocaml_version Sys.ocaml_version;
+
exit 1)
+
else
+
let ocamlc_digest = Digest.to_hex (Digest.file ocamlc) in
+
let libdir =
+
if Sys.command (ocamlc^" -where > %{_:name}%.config") = 0 then
+
let ic = open_in "%{_:name}%.config" in
+
let r = input_line ic in
+
close_in ic;
+
Sys.remove "%{_:name}%.config";
+
r
+
else
+
failwith "Bad return from 'ocamlc -where'"
+
in
+
let graphics = Filename.concat libdir "graphics.cmi" in
+
let graphics_digest =
+
if Sys.file_exists graphics then
+
Digest.to_hex (Digest.file graphics)
+
else
+
String.make 32 '0'
+
in
+
let oc = open_out "%{_:name}%.config" in
+
Printf.fprintf oc "opam-version: \"2.0\"\n\
+
file-depends: [ [ %%S %%S ] [ %%S %%S ] ]\n\
+
variables { path: %%S }\n"
+
ocamlc ocamlc_digest graphics graphics_digest (Filename.dirname ocamlc);
+
close_out oc
+25
packages/ocaml-system/ocaml-system.5.2.0/opam
···
+
opam-version: "2.0"
+
synopsis: "The OCaml compiler (system version, from outside of opam)"
+
maintainer: [
+
"David Allsopp <david@tarides.com>"
+
"Florian Angeletti <florian.angeletti@inria.fr>"
+
]
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
authors: "Xavier Leroy and many contributors"
+
homepage: "https://ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
dev-repo: "git+https://github.com/ocaml/ocaml"
+
depends: [
+
"ocaml" {post}
+
"base-unix" {post}
+
"base-threads" {post}
+
"base-bigarray" {post}
+
"base-domains" {post}
+
"base-nnp" {post}
+
]
+
conflict-class: "ocaml-core-compiler"
+
available: sys-ocaml-version = "5.2.0"
+
flags: compiler
+
build: ["ocaml" "gen_ocaml_config.ml"]
+
substs: "gen_ocaml_config.ml"
+
extra-files: ["gen_ocaml_config.ml.in" "md5=093e7bec1ec95f9e4c6a313d73c5d840"]
+1
packages/ocaml-variants/ocaml-variants.5.2.0+options/files/ocaml-variants.install
···
+
share_root: ["config.cache" {"ocaml/config.cache"}]
+82
packages/ocaml-variants/ocaml-variants.5.2.0+options/opam
···
+
opam-version: "2.0"
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
synopsis: "Official release of OCaml 5.2.0"
+
maintainer: [
+
"David Allsopp <david@tarides.com>"
+
"Florian Angeletti <florian.angeletti@inria.fr>"
+
]
+
authors: [
+
"Xavier Leroy"
+
"Damien Doligez"
+
"Alain Frisch"
+
"Jacques Garrigue"
+
"Didier Rémy"
+
"Jérôme Vouillon"
+
]
+
homepage: "https://ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
+
depends: [
+
"ocaml" {= "5.2.0" & post}
+
"base-unix" {post}
+
"base-bigarray" {post}
+
"base-threads" {post}
+
"base-domains" {post}
+
"base-nnp" {post}
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
]
+
conflict-class: "ocaml-core-compiler"
+
flags: compiler
+
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
build-env: [
+
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
+
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
+
]
+
build: [
+
[
+
"./configure"
+
"--prefix=%{prefix}%"
+
"--docdir=%{doc}%/ocaml"
+
"-C"
+
"--with-afl" {ocaml-option-afl:installed}
+
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+
"--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
+
"--enable-flambda" {ocaml-option-flambda:installed}
+
"--enable-frame-pointers" {ocaml-option-fp:installed}
+
"--without-zstd" {ocaml-option-no-compression:installed}
+
"CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
+
"CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
+
"CFLAGS=-Os" {ocaml-option-musl:installed}
+
"LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")}
+
"CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed}
+
"CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"}
+
"CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"}
+
"CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
+
"CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
+
"ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
+
"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
+
"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
+
"LIBS=-static" {ocaml-option-static:installed}
+
"--disable-warn-error"
+
]
+
[make "-j%{jobs}%"]
+
]
+
install: [make "install"]
+
url {
+
src: "https://github.com/ocaml/ocaml/archive/5.2.0.tar.gz"
+
checksum: "sha256=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911"
+
}
+
extra-files: ["ocaml-variants.install" "md5=3e969b841df1f51ca448e6e6295cb451"]
+
depopts: [
+
"ocaml-option-32bit"
+
"ocaml-option-afl"
+
"ocaml-option-bytecode-only"
+
"ocaml-option-no-flat-float-array"
+
"ocaml-option-flambda"
+
"ocaml-option-fp"
+
"ocaml-option-no-compression"
+
"ocaml-option-musl"
+
"ocaml-option-leak-sanitizer"
+
"ocaml-option-address-sanitizer"
+
"ocaml-option-static"
+
]
+3 -66
packages/ocaml-variants/ocaml-variants.5.2.0+trunk/opam
···
opam-version: "2.0"
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
-
synopsis: "Latest 5.2 development"
+
synopsis: "5.2.0 obsolete development package"
+
description: "Replaced with ocaml-variants.5.2.1+trunk"
maintainer: [
"David Allsopp <david@tarides.com>"
"Florian Angeletti <florian.angeletti@inria.fr>"
···
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
-
depends: [
-
"ocaml" {= "5.2.0" & post}
-
"base-unix" {post}
-
"base-bigarray" {post}
-
"base-threads" {post}
-
"base-domains" {post}
-
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
-
]
-
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
-
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
-
build-env: [
-
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
-
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
-
]
-
build: [
-
[
-
"./configure"
-
"--prefix=%{prefix}%"
-
"--docdir=%{doc}%/ocaml"
-
"-C"
-
"--with-afl" {ocaml-option-afl:installed}
-
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
-
"--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
-
"--enable-flambda" {ocaml-option-flambda:installed}
-
"--enable-frame-pointers" {ocaml-option-fp:installed}
-
"--without-zstd" {ocaml-option-no-compression:installed}
-
"--enable-tsan" {ocaml-option-tsan:installed}
-
"CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
-
"CC=clang" {ocaml-option-tsan:installed & (os="macos")}
-
"CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
-
"CFLAGS=-Os" {ocaml-option-musl:installed}
-
"LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")}
-
"CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed}
-
"CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"}
-
"CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"}
-
"CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
-
"CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
-
"ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
-
"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
-
"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
-
"LIBS=-static" {ocaml-option-static:installed}
-
"--disable-warn-error"
-
]
-
[make "-j%{jobs}%"]
-
]
-
install: [make "install"]
-
url {
-
src: "https://github.com/ocaml/ocaml/archive/5.2.tar.gz"
-
}
-
depopts: [
-
"ocaml-option-32bit"
-
"ocaml-option-afl"
-
"ocaml-option-bytecode-only"
-
"ocaml-option-no-flat-float-array"
-
"ocaml-option-flambda"
-
"ocaml-option-fp"
-
"ocaml-option-no-compression"
-
"ocaml-option-musl"
-
"ocaml-option-leak-sanitizer"
-
"ocaml-option-address-sanitizer"
-
"ocaml-option-static"
-
"ocaml-option-tsan"
-
]
+
available: false
+84
packages/ocaml-variants/ocaml-variants.5.2.1+trunk/opam
···
+
opam-version: "2.0"
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
synopsis: "Latest 5.2 development"
+
maintainer: [
+
"David Allsopp <david@tarides.com>"
+
"Florian Angeletti <florian.angeletti@inria.fr>"
+
]
+
authors: [
+
"Xavier Leroy"
+
"Damien Doligez"
+
"Alain Frisch"
+
"Jacques Garrigue"
+
"Didier Rémy"
+
"Jérôme Vouillon"
+
]
+
homepage: "https://ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
+
depends: [
+
"ocaml" {= "5.2.1" & post}
+
"base-unix" {post}
+
"base-bigarray" {post}
+
"base-threads" {post}
+
"base-domains" {post}
+
"base-nnp" {post}
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
]
+
conflict-class: "ocaml-core-compiler"
+
flags: [ compiler avoid-version ]
+
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
build-env: [
+
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
+
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
+
]
+
build: [
+
[
+
"./configure"
+
"--prefix=%{prefix}%"
+
"--docdir=%{doc}%/ocaml"
+
"-C"
+
"--with-afl" {ocaml-option-afl:installed}
+
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+
"--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
+
"--enable-flambda" {ocaml-option-flambda:installed}
+
"--enable-frame-pointers" {ocaml-option-fp:installed}
+
"--without-zstd" {ocaml-option-no-compression:installed}
+
"--enable-tsan" {ocaml-option-tsan:installed}
+
"CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
+
"CC=clang" {ocaml-option-tsan:installed & (os="macos")}
+
"CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
+
"CFLAGS=-Os" {ocaml-option-musl:installed}
+
"LDFLAGS=-Wl,--no-as-needed,-ldl" {ocaml-option-leak-sanitizer:installed | (ocaml-option-address-sanitizer:installed & os!="macos")}
+
"CC=gcc -ldl -fsanitize=leak -fno-omit-frame-pointer -O1 -g" {ocaml-option-leak-sanitizer:installed}
+
"CC=gcc -ldl -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os!="macos"}
+
"CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"}
+
"CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
+
"CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
+
"ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
+
"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
+
"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
+
"LIBS=-static" {ocaml-option-static:installed}
+
"--disable-warn-error"
+
]
+
[make "-j%{jobs}%"]
+
]
+
install: [make "install"]
+
url {
+
src: "https://github.com/ocaml/ocaml/archive/5.2.tar.gz"
+
}
+
depopts: [
+
"ocaml-option-32bit"
+
"ocaml-option-afl"
+
"ocaml-option-bytecode-only"
+
"ocaml-option-no-flat-float-array"
+
"ocaml-option-flambda"
+
"ocaml-option-fp"
+
"ocaml-option-no-compression"
+
"ocaml-option-musl"
+
"ocaml-option-leak-sanitizer"
+
"ocaml-option-address-sanitizer"
+
"ocaml-option-static"
+
"ocaml-option-tsan"
+
]
+36
packages/ocaml/ocaml.5.2.1/opam
···
+
opam-version: "2.0"
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
synopsis: "The OCaml compiler (virtual package)"
+
description: """
+
This package requires a matching implementation of OCaml,
+
and polls it to initialise specific variables like `ocaml:native-dynlink`"""
+
maintainer: "David Allsopp <david@tarides.com>"
+
depends: [
+
"ocaml-config" {>= "3"}
+
"ocaml-base-compiler" {>= "5.2.1~" & < "5.2.2~" } |
+
"ocaml-variants" {>= "5.2.1~" & < "5.2.2~"} |
+
"ocaml-system" {>= "5.2.1~" & < "5.2.2~"} |
+
"dkml-base-compiler" {>= "5.2.1~" & < "5.2.2~"}
+
]
+
setenv: [
+
[CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"]
+
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
+
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
+
]
+
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
+
build-env: [
+
[CAML_LD_LIBRARY_PATH = ""]
+
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
+
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
+
]
+
homepage: "https://ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
authors: [
+
"Xavier Leroy"
+
"Damien Doligez"
+
"Alain Frisch"
+
"Jacques Garrigue"
+
"Didier Rémy"
+
"Jérôme Vouillon"
+
]
+
flags: conf