Ticket #910 (new feature request)

Opened 2 years ago

Last modified 7 months ago

--make should have a -j flag for parallel building

Reported by: igloo Assigned to:
Priority: normal Milestone: _|_
Component: Compiler Version: 6.4.2
Severity: normal Keywords:
Cc: bos Difficulty: Unknown
Test Case: N/A Architecture: Multiple
Operating System: Multiple

Description

It should be possible to give --make a -j flag, similar to make's, to tell it to use multiple proceses to build modules. This would allow executables, libraries and cabal packages to be built faster for people with multiple CPUs.

Attachments

ghc-parallel-comp.patch (67.2 kB) - added by simonmar on 09/27/06 02:45:26.

Change History

09/27/06 01:35:22 changed by igloo

  • summary changed from --make should have a -j flag for paralel building to --make should have a -j flag for parallel building.

09/27/06 02:45:26 changed by simonmar

  • attachment ghc-parallel-comp.patch added.

09/27/06 02:46:55 changed by simonmar

This seems like a good place to hang my patch to implement ghc --make -jN, which was used for the experiments in the 2005 Haskell Workshop paper on SMP GHC, but almost certainly isn't ready for prime time.

10/21/06 09:47:40 changed by igloo

  • testcase set to N/A.

02/17/07 21:05:07 changed by bos

  • cc set to bos.

Would love to have this.

05/07/07 03:36:30 changed by simonmar

  • milestone changed from 6.8 to 6.10.

Not for 6.8, probably.

01/24/08 08:32:57 changed by simonmar

  • owner changed.
  • component changed from Driver to Compiler.
  • milestone changed from 6.10 branch to _|_.

We're not planning this for 6.10. It's more likely that Cabal will get parallel make support first, in which case there's less need for us to tackle this.