From a8d7b3c623e706f6a88d1b9308c18bae32f48494 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Mon, 25 Jul 2022 23:38:35 +0200 Subject: [PATCH] wpewebkit: limit number of parallel threads to fix a build issue Building the wpewebkit recipe with more than 16 threads throws an unexpected error "ninja: build stopped: subcommand failed.", so this commit limits it to a safe value. Signed-off-by: Arturo Buzarra --- .../webkit/recipes-browser/wpewebkit/wpewebkit_%.bbappend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_%.bbappend b/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_%.bbappend index 4598e287f..27a11fb30 100644 --- a/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_%.bbappend +++ b/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_%.bbappend @@ -1,7 +1,10 @@ -# Copyright 2020-2021 Digi International Inc. +# Copyright 2020-2022 Digi International Inc. # We can't build the WebKit with fb images, so force wayland as a required # distro feature. inherit features_check REQUIRED_DISTRO_FEATURES = "wayland" + +# Limit number of parallel threads make can run to avoid a ninja build issue +PARALLEL_MAKE = "-j ${@oe.utils.cpu_count(at_most=16)}"