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
make -C ghc 2.
|Component||Build System (Hadrian)|