forked from rosa/hakurei
internal/rosa: respect preferred loadavg target
This generally improves build performance and system responsiveness. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -32,11 +32,13 @@ func (attr *MakeMakerHelper) script(t Toolchain, _ string) string {
|
||||
script := `perl Makefile.PL \
|
||||
PREFIX=/system
|
||||
make \
|
||||
` + jobsFlagE
|
||||
` + jobsFlagE + ` \
|
||||
` + loadFlagE
|
||||
if !attr.SkipCheck && t.opts&OptSkipCheck == 0 {
|
||||
script += `
|
||||
make \
|
||||
` + jobsFlagE + ` \
|
||||
` + loadFlagE + ` \
|
||||
test
|
||||
`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user