diff options
author | Eric Lindblad <lindblad@gmx.us> | 2022-01-04 02:13:00 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-14 10:35:46 -0500 |
commit | 9ccc445a41a4bc722475e1f84109411d660a9dca (patch) | |
tree | 4c28afa798f74a076df5997f8aa0d929d38b49fe /README.md | |
parent | c2a6c3eb380891eb44d30529f0b9f8f6debf31c9 (diff) | |
download | haskell-9ccc445a41a4bc722475e1f84109411d660a9dca.tar.gz |
add NUMJOBS
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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], |