Parallel building multiple targets

John Lato jwlato at
Sun Jan 5 23:55:31 UTC 2014

On Sun, Jan 5, 2014 at 3:54 PM, Erik de Castro Lopo <mle+hs at>wrote:

> John Lato wrote:
> > ghc --make doesn't allow building several binaries in one run, however if
> > you use cabal all the separate runs will use a shared build directory, so
> > subsequent builds will be able to take advantage of the intermediate
> output
> > of the first build.
> As long as the ghc-options flags are the same for all the different
> component
> sections (I've been bitten by this).

Yes, good point.  This is one case where putting the common code in a
library will help a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list