]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: Limit the number of OpenMP threads
authorJoshua Watt <JPEWhacker@gmail.com>
Thu, 1 Apr 2021 14:43:29 +0000 (09:43 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Apr 2021 14:28:25 +0000 (15:28 +0100)
commitfd2b8986aef11609123da917aaf6bcbe41f63112
treec4a4c952c355d67b3dd520aca045cd2939e96e9e
parent5c6a585347199c099700b93405f511971f5fe26d
bitbake.conf: Limit the number of OpenMP threads

Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This
prevents OpenMP (libgomp in particular) from falling back to using all
the available CPUs, which behaves poorly when attempting to limit build
usage, especially when attempting to build in a container.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf