internal/rosa: lazy initialise all artifacts
Some checks failed
Test / Create distribution (push) Failing after 43s
Test / ShareFS (push) Failing after 49s
Test / Sandbox (push) Failing after 1m5s
Test / Sandbox (race detector) (push) Failing after 1m5s
Test / Hakurei (push) Failing after 1m18s
Test / Hakurei (race detector) (push) Failing after 1m28s
Test / Hpkg (push) Failing after 1m29s
Test / Flake checks (push) Has been skipped

This improves performance, though not as drastically as lazy initialising llvm.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-25 01:32:21 +09:00
parent 43b8a40fc0
commit c44f9acc35
16 changed files with 138 additions and 86 deletions

View File

@@ -42,7 +42,7 @@ rmdir -v /work/lib
}
return t.New("musl-"+version, stage3Concat(t, attr.Extra,
t.NewMake(),
t.Load(Make),
), nil, slices.Concat([]string{
"ROSA_MUSL_TARGET=" + target,
}, attr.Env), `