config/config.in
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
parent 2481 30644208c955
child 3313 ad14212ebf54
permissions -rw-r--r--
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 <michael.hope@linaro.org>
yann@2481
     1
source "config/configure.in"
yann@1870
     2
source "config/backend.in"
yann@1870
     3
source "config/global.in"
yann@1870
     4
source "config/target.in"
yann@1870
     5
source "config/toolchain.in"
yann@1870
     6
source "config/kernel.in"
yann@1870
     7
source "config/binutils.in"
yann@1870
     8
source "config/cc.in"
yann@1870
     9
source "config/libc.in"
yann@1870
    10
source "config/debug.in"
yann@1870
    11
source "config/companion_libs.in"
yann@1870
    12
source "config/companion_tools.in"
mgl@1965
    13
source "config/test_suite.in"