config/arch/s390.in
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
parent 1636 3167f947f93f
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 # s390 specific config options
     2 
     3 ## depends on EXPERIMENTAL
     4 ##
     5 ## select ARCH_SUPPORTS_32
     6 ## select ARCH_SUPPORTS_64
     7 ## select ARCH_DEFAULT_32
     8 ## select ARCH_USE_MMU
     9 ## select ARCH_SUPPORT_FPU
    10 ##
    11 ## help Defined by IBM in:
    12 ## help     32-bit ESA/390       : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9ar008/CCONTENTS
    13 ## help     64-bit z/Architecure : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/CCONTENTS