-
Notifications
You must be signed in to change notification settings - Fork 841
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
stack --profile shouldn't force --ghc-options='-auto-all' #2853
Comments
Do you know of any easy workaround? I'm trying to profile my application, but the auto cost centers in |
Not exactly an "easy" workaround, but one temporary option might be to compile stack with the I'm surprised that |
I'm running into this now. The issue seems to be that stack passes |
Hi, any plans to work further on this issue? |
I'm guessing this isn't seeing any progress anymore. Did anyone come up with any working workaround? Would hate to have to move to cabal just because of this. |
Hi, +1 on the issue, passing EDIT: for future reference, the solution from this article seems to work:
And then rebuild with appropriate profiling options. This will rebuild all dependencies and apply the options you chose. |
I want to use only manual cost centers when profiling, but it appears that stack is forcing
--ghc-options='-auto-all'
whenever profiling is enabled. Even if I pass--ghc-options='-fno-prof-auto'
, the auto cost center are still used.The text was updated successfully, but these errors were encountered: