Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #SYSTEMS=Gambit-C Bigloo Chicken MzScheme Scheme48 Scheme48-jit
  2. SYSTEMS=MzScheme Gambit-C Chicken Scheme48 Scheme48-opt-only Scheme48-jit-noopt Scheme48-jit
  3. BENCHMARKS="all"
  4. SETTINGS="r5rs r6rs r6rs-fixflo r6rs-fixflo-unsafe"
  5. COMP_S48=../go
  6. bench-%.html: $(wildcard results-*)
  7. rm -f all-results.scm
  8. echo "(define all-results '(" > all-results.scm && \
  9. for SYSTEM in $(SYSTEMS); do \
  10. for result in results.$$SYSTEM-$* ; do \
  11. echo $$result; \
  12. echo ";---------------------------------------------------" >> all-results.scm; \
  13. echo "($$SYSTEM" >> all-results.scm; \
  14. ./summarize $$result >> all-results.scm; \
  15. echo ")" >> all-results.scm; \
  16. done; \
  17. done && \
  18. echo "))" >> all-results.scm && \
  19. gsi generate-html-from-all-results.scm && \
  20. mv bench.html $@
  21. result-Scheme48-jit-r6rs:
  22. ./bench -s r6rs scheme48-jit all
  23. comp.image:
  24. WD=`pwd`; \
  25. cd ~/sw/trunk/s48-compiler; \
  26. ( \
  27. echo ',batch'; \
  28. echo ',exec ,load load-all.scm'; \
  29. echo ',open compile-structure'; \
  30. echo ",dump $$WD/$@"; \
  31. echo ',exit'; \
  32. ) | $(COMP_S48)