Skip to content

Commit 98911a0

Browse files
committed
Update OCaml 5.x architecture support
Native compiler requires amd64 or arm64.
1 parent 3487a6f commit 98911a0

File tree

3 files changed

+3
-3
lines changed
  • packages
    • ocaml-option-32bit/ocaml-option-32bit.1
    • ocaml-variants
      • ocaml-variants.5.0.0+trunk
      • ocaml-variants.5.1.0+trunk

3 files changed

+3
-3
lines changed

packages/ocaml-option-32bit/ocaml-option-32bit.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ depexts: [
44
["gcc-multilib" "g++-multilib"] {os-family = "debian"}
55
]
66
depends: [
7-
"ocaml-variants" {post & >= "4.12.0~"}
7+
"ocaml-variants" {post & >= "4.12.0~" & < "5.0.0~~"} | ("ocaml-variants" {post & >= "5.0.0~~"} "ocaml-option-bytecode-only")
88
]
99
available: [ arch = "x86_64" & (os = "linux" | os = "macos") ]
1010
maintainer: "[email protected]"

packages/ocaml-variants/ocaml-variants.5.0.0+trunk/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ depends: [
1313
"base-threads" {post}
1414
"base-domains" {post}
1515
"base-nnp" {post}
16+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
1617
"ocaml-beta" {opam-version < "2.1.0"}
1718
]
1819
conflict-class: "ocaml-core-compiler"
@@ -67,7 +68,6 @@ conflicts: [ "ocaml-option-fp" ]
6768
depopts: [
6869
"ocaml-option-32bit"
6970
"ocaml-option-afl"
70-
"ocaml-option-bytecode-only"
7171
"ocaml-option-default-unsafe-string"
7272
"ocaml-option-no-flat-float-array"
7373
"ocaml-option-flambda"

packages/ocaml-variants/ocaml-variants.5.1.0+trunk/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ depends: [
1313
"base-threads" {post}
1414
"base-domains" {post}
1515
"base-nnp" {post}
16+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
1617
"ocaml-beta" {opam-version < "2.1.0"}
1718
]
1819
conflict-class: "ocaml-core-compiler"
@@ -67,7 +68,6 @@ conflicts: [ "ocaml-option-fp" ]
6768
depopts: [
6869
"ocaml-option-32bit"
6970
"ocaml-option-afl"
70-
"ocaml-option-bytecode-only"
7171
"ocaml-option-default-unsafe-string"
7272
"ocaml-option-no-flat-float-array"
7373
"ocaml-option-flambda"

0 commit comments

Comments
 (0)