aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-15 03:55:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-02 14:03:34 +0200
commitb37f1aa6398065be806e6605a023189685669885 (patch)
treeb9b32091e3d70a31852302b24c99ecb62465464a /build2/b.cli
parenta64b2ae2099346471ead988d5f2d383d55a9bf89 (diff)
Implement parallel match
Diffstat (limited to 'build2/b.cli')
-rw-r--r--build2/b.cli18
1 files changed, 13 insertions, 5 deletions
diff --git a/build2/b.cli b/build2/b.cli
index 6e6800f..d711109 100644
--- a/build2/b.cli
+++ b/build2/b.cli
@@ -244,11 +244,19 @@ namespace build2
size_t --jobs|-j
{
"<num>",
- "Number of jobs to perform in parallel. This includes both the number of
- active threads inside the build system as well as the number of external
- commands (compilers, linkers, etc) started but not yet finished. If this
- option is not specified, then the number of available hardware threads
- is used."
+ "Number of active jobs to perform in parallel. This includes both the
+ number of active threads inside the build system as well as the number
+ of external commands (compilers, linkers, etc) started but not yet
+ finished. If this option is not specified, then the number of available
+ hardware threads is used."
+ }
+
+ size_t --max-jobs|-J
+ {
+ "<num>",
+ "Maximum number of jobs (threads) to create. The default is 16x the
+ number of active jobs (\c{--jobs|j}) on 32-bit architectures and 32x
+ on 64-bit. See the build system scheduler implementation for details."
}
bool --serial-stop|-s