path: root/config/global/
diff options
authorMichael Hope <>2011-09-28 23:40:42 (GMT)
committerMichael Hope <>2011-09-28 23:40:42 (GMT)
commit1c0488792d245101ceb4efca2223574c44fd0e67 (patch)
tree1266a3164c02bc1c1fc9e6397b3cc459eb968a0f /config/global/
parent89cf5bb67fdae093db25ecb6a50f25a835c8ca6c (diff)
config: add a 'auto' value for the number of parallel jobs
When CT_PARALLEL_JOBS is -1, set the number of parallel jobs to the number of online CPUs + 1. Update documentation to match. I find this useful when building in the cloud. You can use the same .config file and have the build adapt to the number of processors available. Limited testing shows that NCPUS+1 is faster than NCPUS+0 or NCPUS+2. Signed-off-by: Michael Hope <>
Diffstat (limited to 'config/global/')
1 files changed, 2 insertions, 0 deletions
diff --git a/config/global/ b/config/global/
index ebf08b2..7092a7f 100644
--- a/config/global/
+++ b/config/global/
@@ -16,6 +16,8 @@ config PARALLEL_JOBS
Enter 1 (or 0) to have only one job at a time.
+ Enter -1 to set automatically based on how many processors the host has.
config LOAD
prompt "Maximum allowed load" if ! BACKEND