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

Ignore cabal_macros.h as a dependency #1195

Closed
lukexi opened this issue Oct 19, 2015 · 1 comment
Closed

Ignore cabal_macros.h as a dependency #1195

lukexi opened this issue Oct 19, 2015 · 1 comment

Comments

@lukexi
Copy link
Contributor

lukexi commented Oct 19, 2015

As Michael says in #1134:

Also somewhat tangential, but: we may want to always ignore cabal_macros.h as a dependency. That file should only change meaningfully when our configure options have changed, and therefore recompiles triggered by that file should be meaningless.

I seem to get endless spurious rebuilds of my local packages due to cabal_macros.h — nearly every time I make a change. If I run stack build a few more times it eventually settles down.

It's of course particularly pernicious when the cabal_macros.h change is detected in package A, which is depended upon by B C D E F, yet I'm only actually making changes in package G that depends on all of the above.

@snoyberg
Copy link
Contributor

PR was merged, closing. Thanks!

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

No branches or pull requests

2 participants