diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-09 10:08:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-09 10:08:08 +0900 |
| commit | 237e793895d276f9b78195ed59f36c15c8b5d86f (patch) | |
| tree | 9ad5cba55564471880183b8039ef10de8bb51e43 /internal/rosa/make.go | |
| parent | 6cfd8fb93484b5683f4a59f84b5bf5b0dde208a2 (diff) | |
internal/rosa: respect preferred loadavg target
This generally improves build performance and system responsiveness.
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, 3 insertions, 1 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 257c51f1..d143a137 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -160,7 +160,8 @@ func (attr *MakeHelper) script(t Toolchain, name string) string { scriptMake := ` make \ - ` + jobsFlagE + ` + jobsFlagE + ` \ + ` + loadFlagE if len(attr.Make) > 0 { scriptMake += " \\\n\t" + strings.Join(attr.Make, " \\\n\t") } @@ -170,6 +171,7 @@ make \ (!attr.SkipCheckEarly || !t.stage.isStage0()) { scriptMake += attr.ScriptCheckEarly + `make \ ` + jobsFlagE + ` \ + ` + loadFlagE + ` \ ` if len(attr.Check) > 0 { scriptMake += strings.Join(attr.Check, " \\\n\t") |
