Skip to content

Commit

Permalink
Merge pull request #24447 from Octachron/OCaml_5.1.0_fp_fix
Browse files Browse the repository at this point in the history
Restore dropped improvement to the OCaml 5.1.0 packages
  • Loading branch information
kit-ty-kate authored Sep 15, 2023
2 parents 4669e82 + e760b23 commit 9b068e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 21 deletions.
4 changes: 2 additions & 2 deletions packages/ocaml-base-compiler/ocaml-base-compiler.5.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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"
dev-repo: "git+https://github.com/ocaml/ocaml#5.1"
depends: [
"ocaml" {= "5.1.0" & post}
"base-unix" {post}
Expand All @@ -14,7 +14,7 @@ depends: [
"base-domains" {post}
"base-nnp" {post}
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
Expand Down
29 changes: 10 additions & 19 deletions packages/ocaml-variants/ocaml-variants.5.1.0+options/opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@ opam-version: "2.0"
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
synopsis: "Official release of OCaml 5.1.0"
maintainer: "[email protected]"
authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"]
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.0"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.1"
depends: [
"ocaml" {= "5.1.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"}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
Expand Down Expand Up @@ -42,15 +49,9 @@ build: [
"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"
]
Expand All @@ -62,16 +63,6 @@ url {
checksum: "sha256=43a3ac7aab7f8880f2bb6221317be55319b356e517622fdc28359fe943e6a450"
}
extra-files: ["ocaml-variants.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"}
]
conflicts: [ "ocaml-option-fp" ]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
Expand Down

0 comments on commit 9b068e4

Please sign in to comment.