Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (24 sloc) 1.361 kB
4f40ad6 @23Skidoo Convert README to Markdown.
authored
1 # ghc-parmake
2
4fe1901 @23Skidoo Add a Travis-CI status icon.
authored
3 [![Build Status](https://secure.travis-ci.org/23Skidoo/ghc-parmake.png?branch=master)](http://travis-ci.org/23Skidoo/ghc-parmake)
4
4f40ad6 @23Skidoo Convert README to Markdown.
authored
5 `ghc-parmake` is a parallel wrapper for `ghc --make` intended to work as its
6 drop-in replacement. It can build your Haskell program in parallel using
7 multiple cores and will be integrated with `cabal build` eventually (though I
8 also plan to support the standalone version).
9
256cdd3 @nh2 README: Add cabal instructions
nh2 authored
10 To use it with cabal, try `cabal build --with-ghc=ghc-parmake --ghc-options="-j N"`.
11
4f40ad6 @23Skidoo Convert README to Markdown.
authored
12 `ghc-parmake` works by first extracting a module dependency graph with `ghc -M`
13 and then running multiple `ghc -c` processes in parallel. Currently, it can
14 build itself and some small test programs (see the `tests` directory).
15
16 To set the number of concurrent jobs, use the `-j` option.
17
18 ## Usage
19
20 ghc-parmake OPTS FILES
21
22 -j N - Run N jobs in parallel.
23 --ghc-path=PATH - Set the path to the ghc executable.
24
493f85d @23Skidoo README update.
authored
25 -vv[N] - Set verbosity to N (only for ghc-parmake).
4f40ad6 @23Skidoo Convert README to Markdown.
authored
26 N is 0-3, default 1.
27 -v[N] - Set verbosity to N (both for GHC and ghc-parmake itself).
28 --help - Print usage information.
29 -V - Print version information.
30
31 Other options are passed to GHC unmodified.
32
33 ## Known limitations
34
35 * Build fails when `-odir` != `-hidir`.
36 * Tested only on Linux.
Something went wrong with that request. Please try again.