summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEric Lindblad <lindblad@gmx.us>2022-01-04 02:13:00 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-14 10:35:46 -0500
commit9ccc445a41a4bc722475e1f84109411d660a9dca (patch)
tree4c28afa798f74a076df5997f8aa0d929d38b49fe /README.md
parentc2a6c3eb380891eb44d30529f0b9f8f6debf31c9 (diff)
downloadhaskell-9ccc445a41a4bc722475e1f84109411d660a9dca.tar.gz
add NUMJOBS
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index cc80fca789..594f874e99 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,9 @@ and Xelatex (only for PDF output).
(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.)
+you should have about N+1 jobs, where `N` is the amount of cores you have; you
+can also set a shell variable `NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}`
+and then run `make $NUMJOBS`.)
The `./boot` step is only necessary if this is a tree checked out
from git. For source distributions downloaded from [GHC's web site][1],