diff test/runEvalTest/Makefile @ 25:efb4e880ac7f

add simple parallel execution test
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Mon, 03 Feb 2014 20:38:07 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/runEvalTest/Makefile	Mon Feb 03 20:38:07 2014 +0900
@@ -0,0 +1,7 @@
+# we should use cabal
+RCPUS = 4
+test: ParSum
+	./ParSum +RTS -K1G -N$(RCPUS)
+
+ParSum: ParSum.hs
+	ghc -O2 ParSum.hs -i.. -threaded -rtsopts