File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -86,4 +86,4 @@ executable agda2hs
86
86
ViewPatterns
87
87
NamedFieldPuns
88
88
PatternSynonyms
89
- ghc-options : -Werror
89
+ ghc-options : -Werror -rtsopts
Original file line number Diff line number Diff line change 1
1
packages : ./agda2hs.cabal
2
2
constraints : Agda +debug
3
+
Original file line number Diff line number Diff line change 1
1
2
2
.PHONY : default clean golden alltests cubicaltests fail print-fail compare force-recompile
3
+ AGDA2HS =./agda2hs +RTS -M2G -RTS
3
4
4
5
ROOT =$(shell cd ..; pwd) /
5
6
@@ -10,13 +11,13 @@ clean :
10
11
11
12
alltests :
12
13
@echo == Compiling tests ==
13
- ./agda2hs AllTests.agda -o build
14
+ $( AGDA2HS ) AllTests.agda -o build
14
15
@echo == Running ghc ==
15
16
@ (cd build; ghc -fno-code AllTests.hs)
16
17
17
18
cubicaltests :
18
19
@echo == Compiling tests using cubical ==
19
- ./agda2hs CubicalTests.agda -o build
20
+ $( AGDA2HS ) CubicalTests.agda -o build
20
21
@echo == Running ghc ==
21
22
@ (cd build; ghc -fno-code CubicalTests.hs)
22
23
@@ -31,7 +32,7 @@ print-fail :
31
32
32
33
build/% .err : Fail/% .agda force-recompile alltests
33
34
@echo Compiling $<
34
- @ (./agda2hs $< -o build -v0 && echo " UNEXPECTED SUCCESS" || true) | sed -e ' s:' $(ROOT ) ' ::g' > $@
35
+ @ ($( AGDA2HS ) $< -o build -v0 && echo " UNEXPECTED SUCCESS" || true) | sed -e ' s:' $(ROOT ) ' ::g' > $@
35
36
36
37
force-recompile :
37
38
You can’t perform that action at this time.
0 commit comments