Repository : ssh://[email protected]/ghc On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/d290ee5354169afa7cfa623e44bd6cb2ec23e9de/ghc
>--------------------------------------------------------------- commit d290ee5354169afa7cfa623e44bd6cb2ec23e9de Author: Austin Seipp <[email protected]> Date: Mon Sep 9 21:20:45 2013 -0500 Add release notes for parallel compilation driver. Signed-off-by: Austin Seipp <[email protected]> >--------------------------------------------------------------- d290ee5354169afa7cfa623e44bd6cb2ec23e9de docs/users_guide/7.8.1-notes.xml | 16 ++++++++++++++++ docs/users_guide/flags.xml | 6 ++++++ docs/users_guide/using.xml | 5 +++++ 3 files changed, 27 insertions(+) diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml index e62082a..80e2293 100644 --- a/docs/users_guide/7.8.1-notes.xml +++ b/docs/users_guide/7.8.1-notes.xml @@ -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> diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index 0b2e90d..8afe095 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -2984,6 +2984,12 @@ </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> <entry>static</entry> diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 432276d..b9cbe3e 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -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 _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
