Skip to content

Offer a shorthand for `--skip=_build/stage$n/compiler/.dependencies.mk`

When working on a stage1 compiler, the slightest change in any of the files leads to rebuilding the dependency matrix, which takes 20-30s time. That makes for a very disruptive edit-compile cycle.

Alp helped me on #ghc and found --skip=_build/stage0/compiler/.dependencies.mk as the right flag to skip dependency rebuilding. I wonder if could hide that behind a nicer flag? I think this should do similar things as --freeze1, only that we 'freeze' stage 0 and dependency building.

The analogy is that we need a hadrian equivalent of make -C ghc 1 as we have --freeze1 for make -C ghc 2.

Trac metadata
Trac field Value
Version 8.6.3
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System (Hadrian)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC alpmestan, snowleopard
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information