-
Notifications
You must be signed in to change notification settings - Fork 710
Bikeshedding "recompilation avoidance"-avoidance! #5300
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
Comments
Well, don't you rather want |
+1 on @hvr's idea. |
Like I said, I don't have any particularly strong opinions on how exactly to accomplish this. That said, the thing that bothers me about using In fact, I see fairly little use for myself for |
@merijn fair enough, but then we'll end up with multiple/redundant ways to achieve the same thing as we need to implement the primitive IOW, we would have the base functionality in
(NB: and then you'd have to figure out convenience flags to augment
which would be equivalent to
Similarly,
would be equivalent to
which corresponds to your "invalidate all local packages" Btw, note that only a proper |
There is an issue about adding target support for |
I think this should be closed as superseded by #7816. That report has a clearer formulation and a more relevant discussion. |
As brought up (I think mostly by me? ;)) in #4247 and #5287
new-build
aggressive caching (and my attempts to make it even more so) leads to a problem where you want things to be rebuild, butcabal-install
decides it doesn't have to. For example, adding new warning flags or debug dump flags, and perhaps even more reasons I'm not considering right now.As a result, I think we some UI/flag to force cabal-install to rebuild something. I think we'd want two flags, one that just rebuilds every local package and one to specify 1 or more local packages to be rebuild. However, I'm terrible at naming things and maybe there's other cases we'd like covered too, so please bikeshed away.
The text was updated successfully, but these errors were encountered: