[Buildbot-devel] Non-fatal disconnects?

Simon Marlow simonmarhaskell at gmail.com
Mon Feb 19 11:21:23 UTC 2007


Mark Pauley wrote:
> Can I take this opportunity to complain about how long it takes to build 
> GHC?
> 
> Is this unavoidable?  It takes less time to build gcc on os x :(
> I've seen my ghc builds run so long that I thought they were hung...
> what gives?

[ off-topic, so Reply-To set to glasgow-haskell-users at haskell.org ]

Our default setup gives you a slow build for a few reasons: optimisation is set 
high, compiling via C is the default, GHC itself has to be built twice, and we 
ship a lot of extra libraries.

However, many of these things can be tweaked, and it has been reported that you 
can get a GHC build down to under 8 minutes on a dual-core, if you're prepared 
to sacrifice optimisation and extra libraries.  However, you can speed up the 
build a *lot* just by using the native code generator instead of compiling via 
C: gcc has been getting quite a bit slower recently.

Full details on how to tweak the GHC build are here:

   http://hackage.haskell.org/trac/ghc/wiki/Building/Hacking

Cheers,
	Simon




More information about the devel mailing list