build system issue: some changes in libraries doesn't trigger required rebuilds

Ben Gamari ben at smart-cactus.org
Sun Nov 15 10:37:05 UTC 2015


Ömer Sinan Ağacan <omeragacan at gmail.com> writes:

> Hi all,
>
> I'm having this annoying issue all the time: Whenever a `git pull origin
> master` updates a library(one of the submodules, like `Binary`) a `make`
> doesn't trigger required rebuilds(e.g. it doesn't rebuild libraries and tries
> to rebuild GHC code).
>
> I don't know how to force build libraries, so most of the time I end up doing
> `make distclean` and wasting 30 minutes.
>
You could try removing the dist-install/ directory of the relevant
library. It generally triggers a rebuild (albeit not necessarily
minimal). That being said, I generally just distclean when there's any
question.

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20151115/08853c81/attachment.sig>


More information about the ghc-devs mailing list