opam: require OCaml >= 4.08

This commit is contained in:
Simon Cruanes 2023-06-24 15:10:44 -04:00
parent 7ed1d44888
commit d0903a09be
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 6 additions and 11 deletions

View file

@ -10,12 +10,10 @@ build: [
["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "x86_32" & arch != "arm32"} ["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "x86_32" & arch != "arm32"}
] ]
depends: [ depends: [
"ocaml" { >= "4.03.0" } "ocaml" { >= "4.08.0" }
"dune" { >= "2.0" } "dune" { >= "2.0" }
"containers" { = version } "containers" { = version }
"seq" | "qcheck-core" {>= "0.20" & with-test}
(("ocaml" {with-test & < "4.08"} & "qcheck-core" {>= "0.17" & with-test})
| ("ocaml" {with-test & >= "4.08"} & "qcheck-core" {>= "0.20" & with-test}))
"iter" { with-test } "iter" { with-test }
"gen" { with-test } "gen" { with-test }
"mdx" { with-test } "mdx" { with-test }

View file

@ -10,14 +10,13 @@ build: [
["dune" "runtest" "-p" name "-j" jobs] {with-test} ["dune" "runtest" "-p" name "-j" jobs] {with-test}
] ]
depends: [ depends: [
"ocaml" { >= "4.03.0" } "ocaml" { >= "4.08.0" }
"dune" { >= "2.0" } "dune" { >= "2.0" }
"base-threads" "base-threads"
"dune-configurator" "dune-configurator"
"containers" { = version } "containers" { = version }
"iter" { with-test } "iter" { with-test }
(("ocaml" {with-test & < "4.08"} & "qcheck-core" {>= "0.17" & with-test}) "qcheck-core" {>= "0.18" & with-test}
| ("ocaml" {with-test & >= "4.08"} & "qcheck-core" {>= "0.18" & with-test}))
"uutf" { with-test } "uutf" { with-test }
"odoc" { with-doc } "odoc" { with-doc }
] ]

View file

@ -11,13 +11,11 @@ build: [
["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "x86_32" & arch != "arm32"} ["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "x86_32" & arch != "arm32"}
] ]
depends: [ depends: [
"ocaml" { >= "4.03.0" } "ocaml" { >= "4.08.0" }
"dune" { >= "2.0" } "dune" { >= "2.0" }
"dune-configurator" "dune-configurator"
"seq" # compat
"either" # compat "either" # compat
(("ocaml" {with-test & < "4.08"} & "qcheck-core" {>= "0.17" & with-test}) | "qcheck-core" {>= "0.18" & with-test}
| ("ocaml" {with-test & >= "4.08"} & "qcheck-core" {>= "0.18" & with-test}))
"yojson" { with-test } "yojson" { with-test }
"iter" { with-test } "iter" { with-test }
"gen" { with-test } "gen" { with-test }