Repository : ssh://darcs.haskell.org//srv/darcs/packages/stm On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d898b7446b898c0ba670a1caff215c0ff3712cc4 >--------------------------------------------------------------- commit d898b7446b898c0ba670a1caff215c0ff3712cc4 Author: Simon Marlow <[email protected]> Date: Wed Jul 4 11:24:48 2012 +0100 allow using a different ghc >--------------------------------------------------------------- bench/Makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/bench/Makefile b/bench/Makefile index 17b4884..2a45fad 100644 --- a/bench/Makefile +++ b/bench/Makefile @@ -1,4 +1,6 @@ +GHC=ghc + # Run chanbench for 4 different channel types, 3 different benchmarks all: - for i in CHAN TCHAN TQUEUE TBQUEUE; do ghc -D$$i -O2 chanbench.hs -o chanbench-$$i; done + for i in CHAN TCHAN TQUEUE TBQUEUE; do $(GHC) -D$$i -O2 -fforce-recomp chanbench.hs -o chanbench-$$i; done for i in 0 1 2; do echo; echo === test $$i ===; for j in CHAN TCHAN TQUEUE TBQUEUE; do printf "%-10s" $$j; time ./chanbench-$$j $$i 2000000; done; done _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
