[commit: stm] master: allow using a different ghc (d898b74)

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.libraries
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.