1
0
forked from rosa/hakurei

internal/rosa: respect preferred job count

This discontinues use of nproc, and also overrides detection behaviour in ninja.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-15 16:18:02 +09:00
parent 3352bb975b
commit 520c36db6d
11 changed files with 28 additions and 19 deletions

View File

@@ -190,7 +190,7 @@ ln -s ld.lld /work/system/bin/ld
ln -s clang /work/system/bin/cc
ln -s clang++ /work/system/bin/c++
ninja check-all
ninja ` + jobsFlagE + ` check-all
`,
},
Python,
@@ -230,7 +230,7 @@ func (t Toolchain) newLibclc() (pkg.Artifact, string) {
{"LIBCLC_TARGETS_TO_BUILD", "all"},
},
Script: "ninja test",
Script: "ninja " + jobsFlagE + " test",
}), llvmVersion
}
func init() {