Skip to content

Commit

Permalink
Merge pull request #638 from talex5/centos-7
Browse files Browse the repository at this point in the history
Don't use uring on centos 7
  • Loading branch information
talex5 authored Nov 2, 2023
2 parents 00bcf7c + d618731 commit bc1e231
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Build and test changes:

- Generate prototypes for C stubs from ml files (@talex5 #615).

- Don't try to compile uring support on centos 7 (@talex5 #638, reported by @zenfey).

## v0.12

New features / API changes:
Expand Down
5 changes: 4 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
(mdx (and (>= 2.2.0) :with-test))
(kcas (and (>= 0.3.0) :with-test))
(yojson (and (>= 2.0.2) :with-test))
(eio_linux (and (= :version) (= :os "linux")))
(eio_linux (and
(= :version)
(= :os "linux")
(or (<> :os-distribution "centos") (> :os-version 7))))
(eio_posix (and (= :version) (<> :os "win32")))
(eio_windows (and (= :version) (= :os "win32")))))
(using mdx 0.2)
4 changes: 3 additions & 1 deletion eio_main.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ depends: [
"mdx" {>= "2.2.0" & with-test}
"kcas" {>= "0.3.0" & with-test}
"yojson" {>= "2.0.2" & with-test}
"eio_linux" {= version & os = "linux"}
"eio_linux"
{= version & os = "linux" &
(os-distribution != "centos" | os-version > "7")}
"eio_posix" {= version & os != "win32"}
"eio_windows" {= version & os = "win32"}
"odoc" {with-doc}
Expand Down

0 comments on commit bc1e231

Please sign in to comment.