
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can ghc execute compilations in parallel? (With GNU make, I'd say "make -j 2" but how to achieve this with "ghc --make" ?) Thanks - J. Waldmann. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHF0FB3ZnXZuOVyMIRAv0LAKCu8Ub2Cbb9xGNlfVNhLAKdwe/vXQCfUG0l RokmawVrEibckG7QknybMkg= =eQQY -----END PGP SIGNATURE-----

Johannes Waldmann wrote:
Can ghc execute compilations in parallel? (With GNU make, I'd say "make -j 2" but how to achieve this with "ghc --make" ?)
Sorry, not at the moment. We implemented a hacky version of it for our Haskell Workshop '05 paper: http://haskell.org/~simonmar/bib/multiproc05_abstract.html but later concluded that GHC really needed some more substantial re-engineering to make it reliable. There's a ticket for it: http://hackage.haskell.org/trac/ghc/ticket/910 Cheers, Simon

On Thu, 2007-10-18 at 13:19 +0200, Johannes Waldmann wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Can ghc execute compilations in parallel? (With GNU make, I'd say "make -j 2" but how to achieve this with "ghc --make" ?)
We're also going to try and solve this in Cabal by having Cabal do the module dependency analysis and then call ghc (and pre-processors) in single shot mode and in parallel. Duncan
participants (3)
-
Duncan Coutts
-
Johannes Waldmann
-
Simon Marlow