Parallel building multiple targets

Erik de Castro Lopo mle+hs at mega-nerd.com
Sun Jan 5 23:54:03 UTC 2014


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).

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Glasgow-haskell-users mailing list