|
1 | 1 | (library |
2 | 2 | (name eurcp_lib) |
3 | | - (enabled_if (= %{system} "linux")) |
| 3 | + (enabled_if ; See https://github.com/ocaml/dune/issues/4895 |
| 4 | + (or (= %{system} "linux") ; Historically, just Linux-x86 |
| 5 | + (= %{system} "linux_eabihf") ; Historically, Linux-arm32 |
| 6 | + (= %{system} "linux_elf") ; Historically, Linux-x86_32 |
| 7 | + (= %{system} "elf"))) ; Historically, Linux-ppc64 |
4 | 8 | (modules eurcp_lib) |
5 | 9 | (libraries eio_linux)) |
6 | 10 |
|
7 | 11 | (executable |
8 | 12 | (name eurcp) |
9 | | - (enabled_if (= %{system} "linux")) |
| 13 | + (enabled_if ; See https://github.com/ocaml/dune/issues/4895 |
| 14 | + (or (= %{system} "linux") ; Historically, just Linux-x86 |
| 15 | + (= %{system} "linux_eabihf") ; Historically, Linux-arm32 |
| 16 | + (= %{system} "linux_elf") ; Historically, Linux-x86_32 |
| 17 | + (= %{system} "elf"))) ; Historically, Linux-ppc64 |
10 | 18 | (modules eurcp) |
11 | 19 | (libraries cmdliner logs.cli logs.fmt fmt.tty fmt.cli eurcp_lib)) |
12 | 20 |
|
13 | 21 | (executable |
14 | 22 | (name basic_eio_linux) |
15 | | - (enabled_if (= %{system} "linux")) |
| 23 | + (enabled_if ; See https://github.com/ocaml/dune/issues/4895 |
| 24 | + (or (= %{system} "linux") ; Historically, just Linux-x86 |
| 25 | + (= %{system} "linux_eabihf") ; Historically, Linux-arm32 |
| 26 | + (= %{system} "linux_elf") ; Historically, Linux-x86_32 |
| 27 | + (= %{system} "elf"))) ; Historically, Linux-ppc64 |
16 | 28 | (modules basic_eio_linux) |
17 | 29 | (libraries logs.fmt fmt.tty eurcp_lib)) |
18 | 30 |
|
19 | 31 | (executables |
20 | 32 | (names bench_noop) |
21 | | - (enabled_if (= %{system} "linux")) |
| 33 | + (enabled_if ; See https://github.com/ocaml/dune/issues/4895 |
| 34 | + (or (= %{system} "linux") ; Historically, just Linux-x86 |
| 35 | + (= %{system} "linux_eabihf") ; Historically, Linux-arm32 |
| 36 | + (= %{system} "linux_elf") ; Historically, Linux-x86_32 |
| 37 | + (= %{system} "elf"))) ; Historically, Linux-ppc64 |
22 | 38 | (modules bench_noop) |
23 | 39 | (libraries eio_linux)) |
24 | 40 |
|
25 | 41 | (test |
26 | 42 | (name test) |
27 | 43 | (package eio_linux) |
28 | | - (build_if (= %{system} "linux")) |
| 44 | + (build_if ; See https://github.com/ocaml/dune/issues/4895 |
| 45 | + (or (= %{system} "linux") ; Historically, just Linux-x86 |
| 46 | + (= %{system} "linux_eabihf") ; Historically, Linux-arm32 |
| 47 | + (= %{system} "linux_elf") ; Historically, Linux-x86_32 |
| 48 | + (= %{system} "elf"))) ; Historically, Linux-ppc64 |
29 | 49 | (modules test) |
30 | 50 | (libraries alcotest eio_linux)) |
31 | 51 |
|
32 | 52 | (mdx |
33 | 53 | (package eio_linux) |
34 | | - (enabled_if (= %{system} "linux")) |
| 54 | + (enabled_if ; See https://github.com/ocaml/dune/issues/4895 |
| 55 | + (or (= %{system} "linux") ; Historically, just Linux-x86 |
| 56 | + (= %{system} "linux_eabihf") ; Historically, Linux-arm32 |
| 57 | + (= %{system} "linux_elf") ; Historically, Linux-x86_32 |
| 58 | + (= %{system} "elf"))) ; Historically, Linux-ppc64 |
35 | 59 | (deps (package eio_linux))) |
0 commit comments