[commit: ghc] master: Make sure README.md mentions that make can build in parallel. (b4befc0)
Austin Seipp
mad.one at gmail.com
Fri Mar 29 20:47:52 CET 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
https://github.com/ghc/ghc/commit/b4befc0611b488d77a619a7b7a34750dc6bfb786
>---------------------------------------------------------------
commit b4befc0611b488d77a619a7b7a34750dc6bfb786
Author: Austin Seipp <aseipp at pobox.com>
Date: Fri Mar 29 14:47:42 2013 -0500
Make sure README.md mentions that make can build in parallel.
Signed-off-by: Austin Seipp <aseipp at pobox.com>
>---------------------------------------------------------------
README.md | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 3b3a66e..5f646a4 100644
--- a/README.md
+++ b/README.md
@@ -62,9 +62,14 @@ dblatex.
$ perl boot
$ ./configure
- $ make
+ $ make # can also say 'make -jX' for X number of jobs
$ make install
+(NB: **Do you have multiple cores? Be sure to tell that to `make`!** This can
+save you hours of build time depending on your system configuration, and is
+almost always a win regardless of how many cores you have. As a simple rule,
+you should have about N+1 jobs, where `N` is the amount of cores you have.)
+
The `perl boot` step is only necessary if this is a tree checked out
from git. For source distributions downloaded from [GHC's web site] [1],
this step has already been performed.
More information about the ghc-commits
mailing list