bitbake.conf: move BB_NUMBER_THREADS and PARALLEL_MAKE to bitbake.conf
Currently, BB_NUMBER_THREADS and PARALLEL_MAKE default to unset and are set in local.conf. Now that we have the automatic probing, the default values can be set in bitbake.conf and an example of explicitly defining how many tasks to run can be moved to local.conf.sample.extended. [YOCTO #6217] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
91c845c452
commit
f83319541a
|
@ -11,28 +11,6 @@
|
|||
# the option is a question of removing the # character and making any change to the
|
||||
# variable as required.
|
||||
|
||||
#
|
||||
# Parallelism Options
|
||||
#
|
||||
# These two options control how much parallelism BitBake should use. The first
|
||||
# option determines how many tasks bitbake should run in parallel:
|
||||
#
|
||||
#BB_NUMBER_THREADS ?= "4"
|
||||
#
|
||||
# Default to setting automatically based on cpu count
|
||||
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
|
||||
#
|
||||
# The second option controls how many processes make should run in parallel when
|
||||
# running compile tasks:
|
||||
#
|
||||
#PARALLEL_MAKE ?= "-j 4"
|
||||
#
|
||||
# Default to setting automatically based on cpu count
|
||||
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
|
||||
#
|
||||
# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
|
||||
# be appropriate for example.
|
||||
|
||||
#
|
||||
# Machine Selection
|
||||
#
|
||||
|
|
|
@ -2,6 +2,29 @@
|
|||
# certain recipes.
|
||||
#BBMASK = ""
|
||||
|
||||
#
|
||||
# Parallelism Options
|
||||
#
|
||||
# These two options control how much parallelism BitBake should use. The first
|
||||
# option determines how many tasks bitbake should run in parallel:
|
||||
#
|
||||
#BB_NUMBER_THREADS ?= "4"
|
||||
#
|
||||
# Default to setting automatically based on cpu count
|
||||
#BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
|
||||
#
|
||||
# The second option controls how many processes make should run in parallel when
|
||||
# running compile tasks:
|
||||
#
|
||||
#PARALLEL_MAKE ?= "-j 4"
|
||||
#
|
||||
# Default to setting automatically based on cpu count
|
||||
#PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
|
||||
#
|
||||
# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
|
||||
# be appropriate for example.
|
||||
|
||||
|
||||
# eglibc configurability is used to reduce minimal image's size.
|
||||
# the all supported eglibc options are listed in DISTRO_FEATURES_LIBC
|
||||
# and disabled by default. Uncomment and copy the DISTRO_FEATURES_LIBC
|
||||
|
|
Loading…
Reference in New Issue