Open edsko opened 8 years ago
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?
@ezyang it related to #3883, there cabal rebuild everything even not necessary, and here's the opposite.
This has been resolved by https://github.com/haskell/cabal/pull/7973, thanks all!
I misunderstood the linked pr which not affected the caching of ghc-options only made them be applied to local packages sorry for the noise!
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.