# compilers to use. these are identifiers for the particular systems # listed below COMPILERS = ghc ghc-asm ghc-old ghci hugs nhc98 yhc hbc jhc-grin # ghc-old # All directories to test DIRS= imaginary spectral real # particular implementations GHC = ghc-6.7.20070224 GHC_ASM = $(GHC) GHC_OLD = ghc-6.6 GHCI = runghc HUGS = runhugs NHC = nhc98 YHC = yhc HBC = hbcmake JHC_GRIN = jhc JHC_GHC = jhc # maximum seconds to run a given benchmark program TIMEOUT = 1200 # specific global flags for each system GHC_OPTS = -Rghc-timing -O2 -optc-O2 -fvia-C -optc-march=pentium4 GHC_ASM_OPTS = -Rghc-timing -O2 -fasm GHC_OLD_OPTS = $(GHC_OPTS) GHCI_OPTS = -w -v0 HUGS_OPTS = NHC_OPTS = YHC_OPTS = HBC_OPTS = -H128M -O JHC_GRIN_OPTS= JHC_GHC_OPTS = -fvia-ghc # extra options for numerics, platform specific GHC_MATH_OPTS = -optc-mfpmath=sse -optc-msse2 #GHC_MATH_OPTS = -optc-maltivec # uncomment on powerpc # runtime flags GHC_RUN_OPTS = # +RTS -H128M -M350M -RTS GHC_ASM_RUN_OPTS = $(GHC_RUN_OPTS) GHC_OLD_RUN_OPTS = $(GHC_RUN_OPTS) GHCI_RUN_OPTS= +RTS -K20M -H128M -RTS NHC_RUN_OPTS = +RTS -H128M -RTS HUGS_RUN_OPTS= -h128m YHC_RUN_OPTS = -h 256M HBC_RUN_OPTS = -A20M -H128M - JHC_GRIN_RUN_OPTS = # FIXME - does jhc even have runtime options (whole "no prewritten runtime" thing) JHC_GHC_RUN_OPTS = # FIXME - does jhc even have runtime options (whole "no prewritten runtime" thing) # default suffix TEST_SUFFIX = hs # extra system-specific data files # relative to test dir WORDS = bin/words # publishing info PUBLISH = YES PUBLISH_URL = http://www.cse.unsw.edu.au/~dons/code/nobench # find all .db files, render a nice report from them PUBLISH_PATH=/home/dons/www/nobench PUBLISH_CMD = scp results.html $(PUBLISH_PATH)/`uname -m`/ ; find . -name '*actual' -exec scp {} $(PUBLISH_PATH)/`uname -m`/logs/ \; ; for i in `find . -name '*compile'` ; do x=`dirname $$i`; y=`basename $$x`; scp $$i $(PUBLISH_PATH)/`uname -m`/logs/$$y.`basename $$i` ; done # default test input TEST_INPUT= /dev/null