Added 'make bench'

This commit is contained in:
Justin Ethier 2018-12-14 15:03:52 -05:00
parent d54a0130c0
commit 2e215adafb

View file

@ -122,7 +122,7 @@ doc :
# Helper rules (of interest to people hacking on this makefile)
.PHONY: clean full bootstrap tags indent debug test doc
.PHONY: clean full bench bootstrap tags indent debug test doc
$(TESTS) : %: %.scm
$(CYCLONE) -I . $<
@ -190,6 +190,9 @@ libcyclone.a : runtime.o gc.o dispatch.o mstreams.o
full :
make clean ; make && make test && make bootstrap && cd ../cyclone-bootstrap && make clean && ./install.sh
bench :
cd ../r7rs-benchmarks && rm results.Cyclone && ./bench cyclone all && grep Elapsed results.Cyclone >out.txt ; grep Elapsed results.Cyclone |wc ; grep -i -e error -e limit -e crash results.Cyclone
bootstrap : icyc libs
mkdir -p $(BOOTSTRAP_DIR)/scheme/cyclone
mkdir -p $(BOOTSTRAP_DIR)/srfi