[commit: ghc] ghc-parmake-gsoc: Implement the parallel upsweep (#910) (8d9edfe)

git at git.haskell.org git at git.haskell.org
Tue Aug 27 16:11:40 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-parmake-gsoc
Link       : http://ghc.haskell.org/trac/ghc/changeset/8d9edfed74e8fd03933d4e3540f6372c269de538/ghc

>---------------------------------------------------------------

commit 8d9edfed74e8fd03933d4e3540f6372c269de538
Author: Patrick Palka <patrick at parcs.ath.cx>
Date:   Wed Aug 21 16:55:52 2013 -0400

    Implement the parallel upsweep (#910)
    
    The parallel upsweep is the parallel counterpart to the default
    sequential upsweep. It attempts to compile modules in parallel by
    subdividing the work of the upsweep into parts that can be executed
    concurrently by multiple Haskell threads.
    
    In order to enable the parallel upsweep, the user has to pass the -jN
    flag to GHC, where N is an optional number denoting the number of jobs,
    or modules, to compile in parallel, like with GNU make. In GHC this just
    sets the number of capabilities to N.


>---------------------------------------------------------------

8d9edfed74e8fd03933d4e3540f6372c269de538
 compiler/main/DynFlags.hs |    8 +
 compiler/main/GhcMake.hs  |  354 ++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 359 insertions(+), 3 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8d9edfed74e8fd03933d4e3540f6372c269de538




More information about the ghc-commits mailing list