-
Notifications
You must be signed in to change notification settings - Fork 696
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
GHC incorrectly concludes rebuild unnecessary, even when ghc-options have changed #3891
Comments
Judging from the log output, it is likely we are invoking GHC, but GHC does not consider that recompilation is necessary. So technically this is an upstream bug. But that's not an excuse, we should do something here. |
FWIW, with the traditional build this works just fine (and I use that all the time when debugging low level issues). |
OK, well, never mind then! |
Hmmm, it seems I was wrong about ti working with traditional build. Not sure why I concluded that. It doesn't work with traditional build either :) Apologies. |
OK relabeled ;) |
nto memo, and refine it into issue later today/tomorrow |
E.g. atm it triggers the rebuild, but a bit too big one... |
@phadej, the conversation you pasted in this ticket is not relevant to the original issue of the ticket (which is a GHC bug.) Maybe a different ticket should be opened? |
This has been resolved by #7973, thanks all! |
I misunderstood the linked pr which not affected the caching of ghc-options only made them be applied to local packages |
Steps:
new-build
). Realize it has a space leak.new-build
again:Note that although it detected "configuration changed", nothing actually got recompiled. The change only takes effect after I manually delete the
dist-newstyle
directory and rebuild again.The text was updated successfully, but these errors were encountered: