this repo has no description

Merge pull request #24917 from Octachron/OCaml_5.1.1

Release of OCaml 5.1.1

Changed files
+336 -78
packages
ocaml
ocaml.5.1.2
ocaml-base-compiler
ocaml-base-compiler.5.1.1
ocaml-src
ocaml-src.5.1.1
files
ocaml-system
ocaml-system.5.1.1
ocaml-variants
ocaml-variants.5.1.1+options
ocaml-variants.5.1.1+trunk
ocaml-variants.5.1.2+trunk
+1
packages/ocaml-base-compiler/ocaml-base-compiler.5.1.1/files/ocaml-base-compiler.install
···
+
share_root: ["config.cache" {"ocaml/config.cache"}]
+47
packages/ocaml-base-compiler/ocaml-base-compiler.5.1.1/opam
···
+
opam-version: "2.0"
+
synopsis: "Official release 5.1.1"
+
maintainer: "platform@lists.ocaml.org"
+
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.1"
+
depends: [
+
"ocaml" {= "5.1.1" & 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.1.1.tar.gz"
+
checksum: "sha256=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17"
+
}
+
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.1.1/files/META
···
+
version = "5.1.1"
+17
packages/ocaml-src/ocaml-src.5.1.1/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.1.1"}
+
]
+
extra-files: ["META" "md5=1f6cafee156253a7ed441656f68fd8d4"]
+
url {
+
src: "https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz"
+
checksum: "sha256=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17"
+
}
+
+
+43
packages/ocaml-system/ocaml-system.5.1.1/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
+22
packages/ocaml-system/ocaml-system.5.1.1/opam
···
+
opam-version: "2.0"
+
synopsis: "The OCaml compiler (system version, from outside of opam)"
+
maintainer: "platform@lists.ocaml.org"
+
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.1.1"
+
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.1.1+options/files/ocaml-variants.install
···
+
share_root: ["config.cache" {"ocaml/config.cache"}]
+79
packages/ocaml-variants/ocaml-variants.5.1.1+options/opam
···
+
opam-version: "2.0"
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
synopsis: "Official release of OCaml 5.1.1"
+
maintainer: "platform@lists.ocaml.org"
+
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.1"
+
depends: [
+
"ocaml" {= "5.1.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"}
+
]
+
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.1.1.tar.gz"
+
checksum: "sha256=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17"
+
}
+
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 -78
packages/ocaml-variants/ocaml-variants.5.1.1+trunk/opam
···
opam-version: "2.0"
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
-
synopsis: "Latest 5.1 development"
+
synopsis: "5.1.1 obsolete development package"
+
description: "Replaced with ocaml-variants.5.1.2+trunk"
maintainer: "platform@lists.ocaml.org"
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#trunk"
-
depends: [
-
"ocaml" {= "5.1.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"}
-
"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}
-
"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=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
-
"ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
-
"ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
-
"ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
-
"AS=as --32" {ocaml-option-32bit:installed & os="linux"}
-
"AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
-
"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
-
"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
-
"PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
-
"LIBS=-static" {ocaml-option-static:installed}
-
"--disable-warn-error"
-
]
-
[make "-j%{jobs}%"]
-
]
-
install: [make "install"]
-
url {
-
src: "https://github.com/ocaml/ocaml/archive/5.1.tar.gz"
-
}
-
post-messages: [
-
"A failure in the middle of the build may be caused by build parallelism
-
(enabled by default).
-
See https://github.com/ocaml/opam-repository/pull/14257 for more info."
-
{failure & jobs > 1 & os != "cygwin"}
-
"You can try installing again including --jobs=1
-
to force a sequential build instead."
-
{failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
-
]
-
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-musl"
-
"ocaml-option-no-compression"
-
"ocaml-option-leak-sanitizer"
-
"ocaml-option-address-sanitizer"
-
"ocaml-option-static"
-
]
+
available: false
+86
packages/ocaml-variants/ocaml-variants.5.1.2+trunk/opam
···
+
opam-version: "2.0"
+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
+
synopsis: "Latest 5.1 development"
+
maintainer: "platform@lists.ocaml.org"
+
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#trunk"
+
depends: [
+
"ocaml" {= "5.1.2" & 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"}
+
"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}
+
"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=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
+
"ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
+
"ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
+
"ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
+
"AS=as --32" {ocaml-option-32bit:installed & os="linux"}
+
"AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
+
"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
+
"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
+
"PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
+
"LIBS=-static" {ocaml-option-static:installed}
+
"--disable-warn-error"
+
]
+
[make "-j%{jobs}%"]
+
]
+
install: [make "install"]
+
url {
+
src: "https://github.com/ocaml/ocaml/archive/5.1.tar.gz"
+
}
+
post-messages: [
+
"A failure in the middle of the build may be caused by build parallelism
+
(enabled by default).
+
See https://github.com/ocaml/opam-repository/pull/14257 for more info."
+
{failure & jobs > 1 & os != "cygwin"}
+
"You can try installing again including --jobs=1
+
to force a sequential build instead."
+
{failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
+
]
+
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-musl"
+
"ocaml-option-no-compression"
+
"ocaml-option-leak-sanitizer"
+
"ocaml-option-address-sanitizer"
+
"ocaml-option-static"
+
]
+36
packages/ocaml/ocaml.5.1.2/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: "platform@lists.ocaml.org"
+
depends: [
+
"ocaml-config" {>= "3"}
+
"ocaml-base-compiler" {>= "5.1.2~" & < "5.1.3~" } |
+
"ocaml-variants" {>= "5.1.2~" & < "5.1.3~"} |
+
"ocaml-system" {>= "5.1.2~" & < "5.1.3~"} |
+
"dkml-base-compiler" {>= "5.1.2~" & < "5.1.3~"}
+
]
+
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