I'm trying to get a cabal config equivalent to compiling with ghc -threaded -O2
then running with my.exe +RTS -N4 -s
. Currently I have
executable my.exe
ghc-options:
-O3
-threaded
-rtsopts
-with-rtsopts="-N4"
main-is: Main.hs
When I run my.exe
it gives me unexpected RTS argument: -N4