config/arch/sh.in
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
parent 2114 b1d27d43a825
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 # Super-H specific configuration file
     2 
     3 ## select ARCH_SUPPORTS_32
     4 ## select ARCH_DEFAULT_32
     5 ## select ARCH_USE_MMU
     6 ## select ARCH_SUPPORTS_BOTH_ENDIAN
     7 ## select ARCH_DEFAULT_LE
     8 ##
     9 ## help The Super-H architecture, as defined by:
    10 ## help     http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/