[commit: packages/containers] master: update benchmarks Makefile (5f9af63)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 22:11:28 UTC 2015


Repository : ssh://git@git.haskell.org/containers

On branch  : master
Link       : http://git.haskell.org/packages/containers.git/commitdiff/5f9af637de232236abf1890f1e05a3df4421ef15

>---------------------------------------------------------------

commit 5f9af637de232236abf1890f1e05a3df4421ef15
Author: Bertram Felgenhauer <int-e at gmx.de>
Date:   Sun Dec 21 21:01:11 2014 +0100

    update benchmarks Makefile


>---------------------------------------------------------------

5f9af637de232236abf1890f1e05a3df4421ef15
 benchmarks/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 1539a2a..aacccef 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -1,10 +1,12 @@
 all:
 
 bench-%: %.hs force
-	ghc -O2 -DTESTING $< -i../$(TOP) -o $@ -outputdir tmp -rtsopts
+	ghc -O2 -DTESTING $< -I../include -i../$(TOP) -o $@ -outputdir tmp -rtsopts
+
+.PRECIOUS: bench-%
 
 bench-%.csv: bench-%
-	./bench-$* $(BENCHMARK) -v -u bench-$*.csv
+	./bench-$* "$(BENCHMARK)" -v1 --csv bench-$*.csv
 
 .PHONY: force clean veryclean
 force:



More information about the ghc-commits mailing list