-
Notifications
You must be signed in to change notification settings - Fork 325
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
Fix repeated with-rtsopts option #4118
Conversation
GHC does not support repeated `--with-rtsopts` options, and it simply applies the last one. This means many of the baked-in options were actually not being passed, including `-N` for some of the services and `-T` for cannon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
services/federator/federator.cabal
Outdated
-threaded "-with-rtsopts=-N1 -T" -rtsopts -Wredundant-constraints | ||
-Wunused-packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why we specify -N1
here:
- Its the default anyway
- What's the reason behind this, perhaps would be good to document. Seems to have been added without any specified reason: 47684fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like it had been N1 as a default when history started in 2017.
GHC does not support repeated
--with-rtsopts
options, and it simply applies the last one. This means many of the baked-in options were actually not being passed, including-N
for some of the services and-T
for cannon.Checklist
changelog.d