internal/rosa/openssl: scale jobs based on cpu count

The hardcoded value of 256 causes test failures due to excessive load on some machines. Twice the cpu count appears to almost saturate all cpus without causing spurious failures.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-13 03:34:08 +09:00
parent d49e654482
commit 4f9f4875d7

View File

@@ -27,7 +27,7 @@ func (t Toolchain) newOpenSSL() pkg.Artifact {
`,
CheckName: "test",
Make: []string{
"HARNESS_JOBS=256",
`HARNESS_JOBS="$(expr "$(nproc)" '*' 2)"`,
},
},
t.Load(Perl),