Commit d290ee53 authored by Austin Seipp's avatar Austin Seipp
Browse files

Add release notes for parallel compilation driver.


Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 7740e253
......@@ -175,6 +175,22 @@
declared in the module.
</para>
</listitem>
<listitem>
<para>
GHC now has a parallel compilataion driver. When
compiling with <literal>--make</literal> (which is on
by default,) you may also specify
<literal>-jN</literal> in order to compile
<replaceable>N</replaceable> modules in parallel.
</para>
<para>
Note that if you wish for GHC to use multiple cores,
you will need to use the <literal>+RTS -N</literal>
flag.
</para>
</listitem>
</itemizedlist>
</sect2>
......
......@@ -2983,6 +2983,12 @@
</row>
</thead>
<tbody>
<row>
<entry><option>-j <replaceable>N</replaceable></option></entry>
<entry>When compiling with <literal>--make</literal>, compile <replaceable>N</replaceable></entry>
<entry>dynamic</entry>
<entry>-</entry>
</row>
<row>
<entry><option>-fno-hi-version-check</option></entry>
<entry>Don't complain about <literal>.hi</literal> file mismatches</entry>
......
......@@ -596,6 +596,11 @@ ghc Main.hs
invoked, so the dependencies never get out of sync with the
source.</para>
</listitem>
<listitem>
<para>Using the <literal>-j</literal> flag, you can compile
modules in parallel. Specify <literal>-jN</literal> to
compile <replaceable>N</replaceable> jobs in parallel.</para>
</listitem>
</itemizedlist>
<para>Any of the command-line options described in the rest of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment