Skip to content

Commit

Permalink
Enable lib_eio_linux tests on all arches
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Jul 26, 2023
1 parent deebe24 commit 29e4f4c
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions lib_eio_linux/tests/dune
Original file line number Diff line number Diff line change
@@ -1,24 +1,40 @@
(library
(name eurcp_lib)
(enabled_if (= %{system} "linux"))
(enabled_if ; See https://github.com/ocaml/dune/issues/4895
(or (= %{system} "linux") ; Historically, just Linux-x86
(= %{system} "linux_eabihf") ; Historically, Linux-arm32
(= %{system} "linux_elf") ; Historically, Linux-x86_32
(= %{system} "elf"))) ; Historically, Linux-ppc64
(modules eurcp_lib)
(libraries eio_linux))

(executable
(name eurcp)
(enabled_if (= %{system} "linux"))
(enabled_if ; See https://github.com/ocaml/dune/issues/4895
(or (= %{system} "linux") ; Historically, just Linux-x86
(= %{system} "linux_eabihf") ; Historically, Linux-arm32
(= %{system} "linux_elf") ; Historically, Linux-x86_32
(= %{system} "elf"))) ; Historically, Linux-ppc64
(modules eurcp)
(libraries cmdliner logs.cli logs.fmt fmt.tty fmt.cli eurcp_lib))

(executable
(name basic_eio_linux)
(enabled_if (= %{system} "linux"))
(enabled_if ; See https://github.com/ocaml/dune/issues/4895
(or (= %{system} "linux") ; Historically, just Linux-x86
(= %{system} "linux_eabihf") ; Historically, Linux-arm32
(= %{system} "linux_elf") ; Historically, Linux-x86_32
(= %{system} "elf"))) ; Historically, Linux-ppc64
(modules basic_eio_linux)
(libraries logs.fmt fmt.tty eurcp_lib))

(executables
(names bench_noop)
(enabled_if (= %{system} "linux"))
(enabled_if ; See https://github.com/ocaml/dune/issues/4895
(or (= %{system} "linux") ; Historically, just Linux-x86
(= %{system} "linux_eabihf") ; Historically, Linux-arm32
(= %{system} "linux_elf") ; Historically, Linux-x86_32
(= %{system} "elf"))) ; Historically, Linux-ppc64
(modules bench_noop)
(libraries eio_linux))

Expand All @@ -31,5 +47,9 @@

(mdx
(package eio_linux)
(enabled_if (= %{system} "linux"))
(enabled_if ; See https://github.com/ocaml/dune/issues/4895
(or (= %{system} "linux") ; Historically, just Linux-x86
(= %{system} "linux_eabihf") ; Historically, Linux-arm32
(= %{system} "linux_elf") ; Historically, Linux-x86_32
(= %{system} "elf"))) ; Historically, Linux-ppc64
(deps (package eio_linux)))

0 comments on commit 29e4f4c

Please sign in to comment.