* [PATCH 1/1] whitelist build-concurrency related env vars
@ 2022-10-29 3:19 Felix Moessbauer
2022-11-15 7:44 ` Anton Mikanovich
0 siblings, 1 reply; 2+ messages in thread
From: Felix Moessbauer @ 2022-10-29 3:19 UTC (permalink / raw)
To: isar-users; +Cc: jan.kiszka, Felix Moessbauer
This patch whitelists environment variables to control the concurrency and
parallelism of the build to bitbake.
With that, the user can reduce the concurrency in case of running short
on memory. Further, by reducing the concurrency on very large and NUMA
machines, the build sometimes can be significantly speed up.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
scripts/isar-buildenv-internal | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/isar-buildenv-internal b/scripts/isar-buildenv-internal
index d202e5f9..7ef9c542 100755
--- a/scripts/isar-buildenv-internal
+++ b/scripts/isar-buildenv-internal
@@ -77,5 +77,5 @@ export PATH
BBPATH="${BUILDDIR}"
export BBPATH
-BB_ENV_EXTRAWHITE="BITBAKEDIR SCRIPTSDIR TESTSUITEDIR http_proxy https_proxy ftp_proxy no_proxy GNUPGHOME CCACHE_DEBUG"
+BB_ENV_EXTRAWHITE="BITBAKEDIR SCRIPTSDIR TESTSUITEDIR http_proxy https_proxy ftp_proxy no_proxy GNUPGHOME CCACHE_DEBUG BB_NUMBER_THREADS PARALLEL_MAKE"
export BB_ENV_EXTRAWHITE
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] whitelist build-concurrency related env vars
2022-10-29 3:19 [PATCH 1/1] whitelist build-concurrency related env vars Felix Moessbauer
@ 2022-11-15 7:44 ` Anton Mikanovich
0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2022-11-15 7:44 UTC (permalink / raw)
To: Felix Moessbauer, isar-users; +Cc: jan.kiszka
29.10.2022 06:19, Felix Moessbauer wrote:
> This patch whitelists environment variables to control the concurrency and
> parallelism of the build to bitbake.
> With that, the user can reduce the concurrency in case of running short
> on memory. Further, by reducing the concurrency on very large and NUMA
> machines, the build sometimes can be significantly speed up.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-15 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-29 3:19 [PATCH 1/1] whitelist build-concurrency related env vars Felix Moessbauer
2022-11-15 7:44 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox