aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-09 19:37:08 +0900
committerOphestra <cat@gensokyo.uk>2026-07-09 19:37:08 +0900
commit223e8e56b3702c01625b2bdad0bcf5cb8de27633 (patch)
tree4372782012d395c0275fed63ac031a993a312c5f /internal
parent17383ab353f3e20d1a23b75b159dc7327abc909d (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/meson.go5
1 files changed, 4 insertions, 1 deletions
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