From d0148b87f86e868d033560ad4a08c1587d274461 Mon Sep 17 00:00:00 2001 From: Nik Mohamad Aizuddin Date: Sun, 13 Aug 2023 06:10:56 +0800 Subject: [PATCH] fix(local.conf): disable multitasking for bitbake tasks because building Gazebo already used more than 32GB RAM with 16 cores CPUs --- project/yocto/build/conf/local.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/yocto/build/conf/local.conf b/project/yocto/build/conf/local.conf index 9fa9318..8179cd7 100644 --- a/project/yocto/build/conf/local.conf +++ b/project/yocto/build/conf/local.conf @@ -39,6 +39,8 @@ # #do_fetch[number_threads] = "4" # +BB_NUMBER_THREADS ?= "1" +PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" # # Machine Selection