How to teach Hadrian not to build ghctags and haddock

Roland Senn rsx at bluewin.ch
Fri Feb 1 10:27:43 UTC 2019


I switched to Hadrian. Normally I hack somewhere in the compiler. So I
use "hadrian/build.sh --flavour=devel2 --freeze1" to quickly rebuild
GHC after some little changes to the code.

It normally builds 
 - library 'ghc' (Stage1, way v)
 - program 'ghctags' (Stage1) 
 - program 'ghc-bin' (Stage1)
 - program 'haddock' (Stage1)

When hacking GHC, I never use ghctags or haddock. Building ghctags is
very fast, 1-2 seconds. However building haddock takes 15 to 20
seconds.

Is there a way to teach hadrian not to build haddock and ghctags?

Many thanks!
   Roland


More information about the ghc-devs mailing list