From 520c36db6debd3e51b4d21395179b72a5b81cda2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 15 Apr 2026 16:18:02 +0900 Subject: internal/rosa: respect preferred job count This discontinues use of nproc, and also overrides detection behaviour in ninja. Signed-off-by: Ophestra --- internal/rosa/llvm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/rosa/llvm.go') diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index 88ba915c..0d3c993b 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -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() { -- cgit v1.3.1