config/arch/mips.in
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
parent 2118 034de6dca38f
child 2788 b6faa28e76e0
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>
     1 # MIPS specific config options
     2 
     3 ## select ARCH_SUPPORTS_32
     4 ## select ARCH_SUPPORTS_64 if EXPERIMENTAL
     5 ## select ARCH_DEFAULT_32
     6 ## select ARCH_USE_MMU
     7 ## select ARCH_SUPPORTS_BOTH_ENDIAN
     8 ## select ARCH_DEFAULT_BE
     9 ## select ARCH_SUPPORT_ARCH
    10 ## select ARCH_SUPPORT_TUNE
    11 ##
    12 ## help The MIPS architecture, as defined by:
    13 ## help     http://www.mips.com/