.hgignore
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
parent 2621 00853d565edf
child 2834 0a0410dd0cb0
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 syntax: glob
     2 
     3 # Generated files
     4 Makefile
     5 *ct-ng*
     6 docs/*ct-ng*.1
     7 docs/*ct-ng*.1.gz
     8 paths.mk
     9 scripts/crosstool-NG.sh
    10 scripts/saveSample.sh
    11 scripts/showTuple.sh
    12 kconfig/conf
    13 kconfig/?conf
    14 kconfig/**.o
    15 kconfig/**.dep
    16 config/configure.in
    17 config.gen/
    18 .config
    19 .config.2
    20 
    21 # Temporaries
    22 .*.swp
    23 build.log
    24 .config.old
    25 
    26 # This is the place where toolchains are built
    27 .build/
    28 # .. and the legacy location
    29 targets/