mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Handle -march properly
Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
55d595600d
commit
3f7f51b2f0
10 changed files with 51 additions and 14 deletions
65
stdlib/x64/dune
Normal file
65
stdlib/x64/dune
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
(rule
|
||||
(deps
|
||||
../Makefile
|
||||
../../runtime/Std.i
|
||||
../List.lama
|
||||
../Array.lama
|
||||
../Buffer.lama
|
||||
../Collection.lama
|
||||
../Data.lama
|
||||
../Fun.lama
|
||||
../Lazy.lama
|
||||
../List.lama
|
||||
../Matcher.lama
|
||||
../Ostap.lama
|
||||
../Random.lama
|
||||
../Ref.lama
|
||||
../STM.lama
|
||||
../Timer.lama
|
||||
%{project_root}/src/Driver.exe)
|
||||
(targets
|
||||
List.i
|
||||
List.o
|
||||
Buffer.i
|
||||
Buffer.o
|
||||
Collection.i
|
||||
Collection.o
|
||||
Data.i
|
||||
Data.o
|
||||
Fun.i
|
||||
Fun.o
|
||||
Lazy.i
|
||||
Lazy.o
|
||||
List.i
|
||||
List.o
|
||||
Matcher.i
|
||||
Matcher.o
|
||||
Ostap.i
|
||||
Ostap.o
|
||||
Random.i
|
||||
Random.o
|
||||
Ref.i
|
||||
Ref.o
|
||||
STM.i
|
||||
STM.o
|
||||
Timer.i
|
||||
Timer.o)
|
||||
(mode
|
||||
(promote (until-clean)))
|
||||
(action
|
||||
(progn
|
||||
(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"
|
||||
(run make -j2 -f ../Makefile all)))))))
|
||||
|
||||
;)
|
||||
Loading…
Add table
Add a link
Reference in a new issue