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,4 +1,6 @@
(rule
(enabled_if
(<> %{ocaml-config:os_type} "Darwin"))
(deps
../Makefile
../../runtime32/Std.i
@ -51,9 +53,6 @@
(setenv
SRCDIR
".."
; (setenv
; FILES
; "List.lama Buffer.lama Collection.lama Data.lama Fun.lama"
(setenv
LAMA
"../../runtime32"

View file

@ -50,15 +50,10 @@
(setenv
SRCDIR
".."
; (setenv
; FILES
; "List.lama Buffer.lama Collection.lama Data.lama Fun.lama"
(setenv
LAMA
"../../runtime"
(setenv
LAMAC
"../../src/Driver.exe -march=amd64 -I ../runtime32"
"../../src/Driver.exe -march=amd64 -I ../runtime"
(run make -j2 -f ../Makefile all)))))))
;)