Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ BUILDDIR = _build

.DEFAULT_GOAL := build

all: build test
all: build

build:
dune b src runtime runtime32 stdlib tutorial
dune b src runtime stdlib tutorial

install: all
dune b @install --profile=release
Expand Down
3 changes: 2 additions & 1 deletion stdlib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
(section share)
(files
(glob_files (*.lama with_prefix x64))
(glob_files (*.lama with_prefix x32))))
;(glob_files (*.lama with_prefix x32))
))
134 changes: 67 additions & 67 deletions stdlib/x32/dune
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
(rule
(enabled_if
(= %{system} "linux"))
(deps
../Makefile
../../runtime32/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
Array.i
Array.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
LAMA
"../../runtime32"
(setenv
LAMAC
"../../src/Driver.exe -32 -I ../../runtime32"
(run make -j2 -f ../Makefile all)))))))
(install
(section share)
(files
(glob_files (*.i with_prefix x32))
(glob_files (*.o with_prefix x32))))
; (rule
; (enabled_if
; (= %{system} "linux"))
; (deps
; ../Makefile
; ../../runtime32/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
; Array.i
; Array.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
; LAMA
; "../../runtime32"
; (setenv
; LAMAC
; "../../src/Driver.exe -32 -I ../../runtime32"
; (run make -j2 -f ../Makefile all)))))))
; (install
; (section share)
; (files
; (glob_files (*.i with_prefix x32))
; (glob_files (*.o with_prefix x32))))
Loading