
27 Mar
2011
27 Mar
'11
11:16 a.m.
On Sun, Mar 27, 2011 at 1:03 PM, Andrew Coppin
*** Build multiple Cabal packages in parallel *** http://hackage.haskell.org/trac/summer-of-code/ticket/1594
Many developers have multi-core machines but Cabal runs the build process in a single thread, only making use of one core. If the build process could be parallelized build times could be cut by perhaps a factor of 2-8, depending on the number of cores and opportunity of parallel execution available.
Isn't the Cabal build process strictly I/O-limited rather than CPU-limited?
It's mostly CPU-limited due to spending most of its time in ghc --make (which is CPU limited). It would be nice to parallelize GHC itself at some point but that's a harder task I believe. Johan