internal/rosa/meson: respect preferred loadavg target and job count
Test / Create distribution (push) Successful in 56s
Test / Sandbox (push) Successful in 2m50s
Test / ShareFS (push) Successful in 3m55s
Test / Hakurei (push) Successful in 4m3s
Test / Sandbox (race detector) (push) Successful in 5m39s
Test / Hakurei (race detector) (push) Successful in 6m41s
Test / Flake checks (push) Successful in 1m5s

This was missed when first implementing jobs and was missed again implementing loadavg.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-09 19:37:08 +09:00
parent 17383ab353
commit 223e8e56b3
+4 -1
View File
@@ -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