diff options
| author | Eli Zaretskii | 2006-12-22 22:15:41 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-12-22 22:15:41 +0000 |
| commit | e84b63f17ca8b535df9d0ae353041e29d3797e67 (patch) | |
| tree | 5fea9633d8e4a66de5677da26f1eef2d6cdc89e4 | |
| parent | 6808dce14b966988dd2884e8e93fc63a988bda45 (diff) | |
| download | emacs-e84b63f17ca8b535df9d0ae353041e29d3797e67.tar.gz emacs-e84b63f17ca8b535df9d0ae353041e29d3797e67.zip | |
Explain how to invoke GNU Make for parallel builds.
| -rw-r--r-- | nt/INSTALL | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/nt/INSTALL b/nt/INSTALL index 8415b1893ff..49e58474325 100644 --- a/nt/INSTALL +++ b/nt/INSTALL | |||
| @@ -43,7 +43,18 @@ | |||
| 43 | gmake | 43 | gmake |
| 44 | 44 | ||
| 45 | (If you are building from CVS, say "make bootstrap" or "nmake | 45 | (If you are building from CVS, say "make bootstrap" or "nmake |
| 46 | bootstrap" instead and avoid using Cygwin make.) | 46 | bootstrap" instead, and avoid using Cygwin make.) |
| 47 | |||
| 48 | With GNU Make, you can use the -j command-line option to have | ||
| 49 | Make execute several commands at once, like this: | ||
| 50 | |||
| 51 | gmake -j 4 XMFLAGS="-j 3" | ||
| 52 | |||
| 53 | The XMFLAGS variable overrides the default behavior of GNU Make | ||
| 54 | on Windows, whereby recursive Make invocations reset the maximum | ||
| 55 | number of simultaneous commands to 1. The above command allows | ||
| 56 | up to 4 simultaneous commands at once in the top-level Make, and | ||
| 57 | up to 3 in each one of the recursive Make's. | ||
| 47 | 58 | ||
| 48 | 4. Generate the Info manuals (only if you are building out of CVS, and | 59 | 4. Generate the Info manuals (only if you are building out of CVS, and |
| 49 | if you have makeinfo.exe installed): | 60 | if you have makeinfo.exe installed): |
| @@ -252,6 +263,18 @@ | |||
| 252 | The warnings may be fixed in the main FSF source at some point, but | 263 | The warnings may be fixed in the main FSF source at some point, but |
| 253 | until then we will just live with them. | 264 | until then we will just live with them. |
| 254 | 265 | ||
| 266 | With GNU Make, you can use the -j command-line option to have Make | ||
| 267 | execute several commands at once, like this: | ||
| 268 | |||
| 269 | gmake -j 4 XMFLAGS="-j 3" | ||
| 270 | |||
| 271 | The XMFLAGS variable overrides the default behavior of GNU Make on | ||
| 272 | Windows, whereby recursive Make invocations reset the maximum number | ||
| 273 | of simultaneous commands to 1. The above command allows up to 4 | ||
| 274 | simultaneous commands at once in the top-level Make, and up to 3 in | ||
| 275 | each one of the recursive Make's; you can use other numbers of jobs, | ||
| 276 | if you wish. | ||
| 277 | |||
| 255 | If you are building from CVS, the following commands will produce | 278 | If you are building from CVS, the following commands will produce |
| 256 | the Info manuals (which are not part of the CVS repository): | 279 | the Info manuals (which are not part of the CVS repository): |
| 257 | 280 | ||