-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
22 lines (16 loc) · 932 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Consider running with --dynamic-space-size 2560
# Set LDK_CLASSPATH to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.392.b08-4.fc39.x86_64/jre/lib/rt.jar or similar
openldk: src/*.lisp *.asd Makefile
sbcl --dynamic-space-size 32768 --disable-debugger --eval "(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:load-system :openldk))" --eval "(openldk::make-image)"
check: openldk testsuite/mauve/gnu/testlet/config.class
(cd testsuite; runtest --tool openldk $(RUNTESTFLAGS))
SRCDIR := $(shell pwd)/testsuite/mauve
BUILDDIR := $(shell pwd)
testsuite/mauve/gnu/testlet/config.class: testsuite/mauve/gnu/testlet/config.java.in Makefile
sed -e 's|@SRCDIR@|$(SRCDIR)|g' \
-e 's|@BUILDDIR@|$(BUILDDIR)|g' \
-e 's|@TMPDIR@|/tmp)|g' \
< testsuite/mauve/gnu/testlet/config.java.in > testsuite/mauve/gnu/testlet/config.java
(cd testsuite/mauve; javac gnu/testlet/config.java)
clean:
-rm -rf openldk .*~ *~ systems