From 223e8e56b3702c01625b2bdad0bcf5cb8de27633 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Jul 2026 19:37:08 +0900 Subject: [PATCH] internal/rosa/meson: respect preferred loadavg target and job count This was missed when first implementing jobs and was missed again implementing loadavg. Signed-off-by: Ophestra --- internal/rosa/meson.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go index 8efade7b..d6f9b1fb 100644 --- a/internal/rosa/meson.go +++ b/internal/rosa/meson.go @@ -58,6 +58,7 @@ func (attr *MesonHelper) script(t Toolchain, name string) string { if !attr.SkipTest && t.opts&OptSkipCheck == 0 { scriptTest = ` meson test \ + ` + jobsFlagE + ` \ -t 10 \ --print-errorlogs` if attr.InteractiveTest { @@ -91,7 +92,9 @@ meson setup \ } }), " \\\n\t") + ` \ . '/usr/src/` + name + `' -meson compile` + scriptCompiled + scriptTest + ` +meson compile \ + ` + jobsFlagE + ` \ + ` + loadFlagE + scriptCompiled + scriptTest + ` meson install \ --destdir=/work ` + attr.Script