On Wed, Apr 15, 2026 at 11:40:18AM +0100, Simon Peyton Jones via ghc-devs wrote:
> Zubin, Sam
> 
> It turns out that running
>    hadrian/build --flavour=release docs --docs=no-sphinx
> is staggeringly slow.  Much, much slower than --flavour=perf
> 
> Moreover, and even worse, *it seems to virtually always start from scratch*.
> If I interrupt it and immediately re-invoke the same command, it starts
> from where it left off.  But if I make any change (e.g. to a comment in a
> GHC source module) it starts again from scratch.  There's a trace below.

Perhaps the hadrian "--freeze1" would help?  It avoids rebuilding the
stage0 compiler, re-building only stage1.

[ The numbering is a bit suboptimal the "stage0" compiler tree is stage 1
  in hadrian, and the "stage1" compiler is stage 2 in hadrian. ]

-- 
    Viktor.  🇺🇦 Слава Україні!
_______________________________________________
ghc-devs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to