Skip to content

Commit f956932

Browse files
committed
Adapt ocaml-options-only packages for 5.x bytecode
1 parent 02c9f4b commit f956932

File tree

2 files changed

+25
-1
lines changed
  • packages/ocaml-options-only-no-flat-float-array
    • ocaml-options-only-no-flat-float-array.1+bytecode-only
    • ocaml-options-only-no-flat-float-array.1

2 files changed

+25
-1
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
opam-version: "2.0"
2+
synopsis: "Ensure that OCaml is compiled with no-flat-float-array, and no other custom options"
3+
depends: [
4+
"ocaml-option-no-flat-float-array"
5+
"ocaml-option-bytecode-only"
6+
"ocaml-variants" {post & (>= "5.00.0~~" & arch != "x86_64" & arch != "arm64")}
7+
]
8+
conflicts: [
9+
"ocaml-option-32bit"
10+
"ocaml-option-afl"
11+
"ocaml-option-default-unsafe-string"
12+
"ocaml-option-flambda"
13+
"ocaml-option-fp"
14+
"ocaml-option-musl"
15+
"ocaml-option-spacetime"
16+
"ocaml-option-static"
17+
"ocaml-option-nnp"
18+
"ocaml-option-nnpchecker"
19+
]
20+
maintainer: "[email protected]"
21+
flags: compiler

packages/ocaml-options-only-no-flat-float-array/ocaml-options-only-no-flat-float-array.1/opam

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
opam-version: "2.0"
22
synopsis: "Ensure that OCaml is compiled with no-flat-float-array, and no other custom options"
3-
depends: ["ocaml-option-no-flat-float-array"]
3+
depends: [
4+
"ocaml-option-no-flat-float-array"
5+
"ocaml-variants" {post & (< "5.00.0~~" | arch = "x86_64" | arch = "arm64")}
6+
]
47
conflicts: [
58
"ocaml-option-32bit"
69
"ocaml-option-afl"

0 commit comments

Comments
 (0)