]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cmake: apply parallel build settings to ptest tasks
authorPeter Marko <peter.marko@siemens.com>
Thu, 6 Feb 2025 17:29:36 +0000 (18:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Feb 2025 13:02:38 +0000 (13:02 +0000)
commit3c311fbf0c2090268e9b83123d762b05b61b4074
tree8e1fe1d8fc134e3b24e41261d0e9ff172a0d7103
parent7c4aa234e9c159f381ccccae0ea906f38790afba
cmake: apply parallel build settings to ptest tasks

ptest compile and install tasks do not have parallel build settings for
cmake. On powerful build machines this can cause overload situations
and oomkills.
Observed when building qtgrpc with ptest generally enabled in distro.

Having this in ptest class is suboptimal, but creating ptest-cmake class
just for these two variables is probably overkill.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cmake.bbclass