internal/rosa: migrate GNU software
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 2m48s
Test / Hakurei (push) Successful in 3m46s
Test / ShareFS (push) Successful in 3m47s
Test / Sandbox (race detector) (push) Successful in 5m21s
Test / Hakurei (race detector) (push) Successful in 6m35s
Test / Flake checks (push) Successful in 1m21s
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 2m48s
Test / Hakurei (push) Successful in 3m46s
Test / ShareFS (push) Successful in 3m47s
Test / Sandbox (race detector) (push) Successful in 5m21s
Test / Hakurei (race detector) (push) Successful in 6m35s
Test / Flake checks (push) Successful in 1m21s
These are quite trivial, so migrate them in one pass. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -70,6 +70,8 @@ type MakeHelper struct {
|
||||
Make []string
|
||||
// Whether to skip the check target.
|
||||
SkipCheck bool
|
||||
// Whether to skip the check target during stage0.
|
||||
SkipCheckEarly bool
|
||||
// Name of the check target, zero value is equivalent to "check".
|
||||
Check []string
|
||||
// Replaces the default install command.
|
||||
@@ -123,7 +125,7 @@ func (attr *MakeHelper) wantsDir() string {
|
||||
}
|
||||
|
||||
// script generates the cure script.
|
||||
func (attr *MakeHelper) script(s *S, name string) string {
|
||||
func (attr *MakeHelper) script(t Toolchain, name string) string {
|
||||
if attr == nil {
|
||||
attr = new(MakeHelper)
|
||||
}
|
||||
@@ -194,7 +196,8 @@ make \
|
||||
}
|
||||
scriptMake += "\n"
|
||||
|
||||
if !attr.SkipCheck && s.opts&OptSkipCheck == 0 {
|
||||
if !attr.SkipCheck && t.opts&OptSkipCheck == 0 &&
|
||||
(!attr.SkipCheckEarly || !t.stage.isStage0()) {
|
||||
scriptMake += attr.ScriptCheckEarly + `make \
|
||||
` + jobsFlagE + ` \
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user