Browse Source

Prevent applying RTS options to stack itself

Isamu Mogi 9 years ago
parent
commit
6329792e54

+ 1 - 1
frameworks/Haskell/snap/setup.sh

@@ -8,4 +8,4 @@ cd bench
 
 
 ${IROOT}/stack --allow-different-user build --install-ghc
 ${IROOT}/stack --allow-different-user build --install-ghc
 
 
-${IROOT}/stack --allow-different-user exec snap-bench +RTS -A4M -N -qg2 -I0 -G2 &
+${IROOT}/stack --allow-different-user exec snap-bench -- +RTS -A4M -N -qg2 -I0 -G2 &

+ 1 - 1
frameworks/Haskell/wai/setup.sh

@@ -6,4 +6,4 @@ cd bench
 
 
 ${IROOT}/stack --allow-different-user build --install-ghc
 ${IROOT}/stack --allow-different-user build --install-ghc
 
 
-${IROOT}/stack --allow-different-user exec bench ${MAX_THREADS} ${DBHOST} +RTS -A32m -N${MAX_THREADS} &
+${IROOT}/stack --allow-different-user exec bench -- ${MAX_THREADS} ${DBHOST} +RTS -A32m -N${MAX_THREADS} &

+ 1 - 1
frameworks/Haskell/yesod/setup.sh

@@ -6,4 +6,4 @@ cd bench
 
 
 ${IROOT}/stack --allow-different-user build --install-ghc
 ${IROOT}/stack --allow-different-user build --install-ghc
 
 
-${IROOT}/stack --allow-different-user exec bench ${MAX_THREADS} ${DBHOST} +RTS -A32m -N${MAX_THREADS} &
+${IROOT}/stack --allow-different-user exec bench -- ${MAX_THREADS} ${DBHOST} +RTS -A32m -N${MAX_THREADS} &