Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell Stack swallows RTS flags #74

Open
jcbelanger opened this issue Sep 7, 2016 · 1 comment
Open

Haskell Stack swallows RTS flags #74

jcbelanger opened this issue Sep 7, 2016 · 1 comment

Comments

@jcbelanger
Copy link

I ran into an issue when I tried to get stack to generate .prof files with the +RTS flags. It seems like the stack/ghc on windows swallows the +RTS flags meant for the application! This bug means the windows code never even got the -N flag and wasn't even parallelized. One workaround is to run the benchmarks against the executable directly without calling stack (somewhere in .stack-work\install\xxxxxxx\bin) until this is resolved.

@jcbelanger
Copy link
Author

I just discovered a workaround in that thread I linked. We should change the command used to run skynet to:

stack build && stack exec skynet --RTS -- +RTS -N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant