diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-15 16:18:02 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-15 18:49:36 +0900 |
| commit | 520c36db6debd3e51b4d21395179b72a5b81cda2 (patch) | |
| tree | bb1fcb075b085af8443ad31c4ae5135000919184 /internal/rosa/make.go | |
| parent | 3352bb975bca696c8c4d2ed2f129c97514e013a4 (diff) | |
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>
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 5a7cc420..0c5a4982 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -185,7 +185,7 @@ func (attr *MakeHelper) script(name string) string { scriptMake := ` make \ - "-j$(nproc)"` + ` + jobsFlagE if len(attr.Make) > 0 { scriptMake += " \\\n\t" + strings.Join(attr.Make, " \\\n\t") } @@ -193,7 +193,7 @@ make \ if !attr.SkipCheck { scriptMake += attr.ScriptCheckEarly + `make \ - "-j$(nproc)" \ + ` + jobsFlagE + ` \ ` if len(attr.Check) > 0 { scriptMake += strings.Join(attr.Check, " \\\n\t") |
