Disable x32 when os_type = Darwin

Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
Kakadu 2024-09-05 19:52:45 +03:00
parent 59273f734e
commit 8a8fc3432b
10 changed files with 22 additions and 28 deletions

View file

@ -1,6 +1,7 @@
(rule
(targets Expressions.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(deps (:lama Expressions.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -21,6 +22,7 @@
(rule
(targets Expressions.x64.exe)
(deps (:lama Expressions.lama) ../runtime/runtime.a ../stdlib/x64/Fun.i)
(mode
(promote (until-clean)))
@ -41,6 +43,7 @@
(rule
(targets Functions.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(deps (:lama Functions.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -61,6 +64,7 @@
(rule
(targets Functions.x64.exe)
(deps (:lama Functions.lama) ../runtime/runtime.a ../stdlib/x64/Fun.i)
(mode
(promote (until-clean)))
@ -81,6 +85,7 @@
(rule
(targets Hello.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(deps (:lama Hello.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -101,6 +106,7 @@
(rule
(targets Hello.x64.exe)
(deps (:lama Hello.lama) ../runtime/runtime.a ../stdlib/x64/Fun.i)
(mode
(promote (until-clean)))
@ -121,6 +127,7 @@
(rule
(targets PatternMatching.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(deps (:lama PatternMatching.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -141,6 +148,7 @@
(rule
(targets PatternMatching.x64.exe)
(deps (:lama PatternMatching.lama) ../runtime/runtime.a ../stdlib/x64/Fun.i)
(mode
(promote (until-clean)))
@ -161,6 +169,7 @@
(rule
(targets Values.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(deps (:lama Values.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -181,6 +190,7 @@
(rule
(targets Values.x64.exe)
(deps (:lama Values.lama) ../runtime/runtime.a ../stdlib/x64/Fun.i)
(mode
(promote (until-clean)))