Building GHC quickly

Simon Marlow simonmarhaskell at gmail.com
Mon Dec 4 10:15:15 EST 2006


Donald Bruce Stewart wrote:
> Had a go today building GHC on a multcore linux box, with -j, just to
> see how fast it would go. 
> 
> Summary: you can build GHC from scratch in less than 10 minutes these days!
> 
> More details here:
>     http://cgi.cse.unsw.edu.au/~dons/blog/2006/12/03#build_ghc_fast

I'd be interested in how long it takes if you turn on -O for the stage 1 
compiler only.  The point being that it'll be slower to compile stage 1, but 
that compiler is then used to build all the libraries and stage 2, so the 
benefit of having an optimised stage 1 might outweigh the time it takes to build it.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list