[Haskell-beginners] cabal -j
Brent Yorgey
byorgey at seas.upenn.edu
Sun May 5 20:38:44 CEST 2013
On Sun, May 05, 2013 at 06:10:25PM +0000, gs wrote:
> Brandon Allbery <allbery.b <at> gmail.com> writes:
>
> > Not that different; make doesn't run parallel by default either (see make
> -j).
>
> Does cabal -j also suffer from interleaved output?
No; when the -j flag is turned on it uses an abbreviated output format
that just tells you *what* it is doing (downloading XYZ package,
configuring foo, building baz...) but not the details, with the
details going to a separate log file for each package. There may soon
also be a way to use it with hydra-print which could be nice.
> And will it be possible
> to set e.g. -j12 as the default?
Yes, edit your ~/.cabal/config and add/uncomment the line
jobs: 12
-Brent
More information about the Beginners
mailing list