internal/rosa/cmake: optional variant string
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m35s
Test / Hakurei (push) Successful in 3m55s
Test / ShareFS (push) Successful in 4m11s
Test / Hpkg (push) Successful in 4m39s
Test / Sandbox (race detector) (push) Successful in 5m3s
Test / Hakurei (race detector) (push) Successful in 6m1s
Test / Flake checks (push) Successful in 1m44s

This improves consistency with other helpers and removes the usually unnecessary variant suffix.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-16 12:30:04 +09:00
parent a58c9258cc
commit 74dee11822
3 changed files with 15 additions and 5 deletions

View File

@@ -167,7 +167,7 @@ ln -s ld.lld /work/system/bin/ld
)
}
return t.NewViaCMake("llvm", version, variant, t.NewPatchedSource(
return t.NewViaCMake("llvm", version, t.NewPatchedSource(
"llvmorg", version, pkg.NewHTTPGetTar(
nil, "https://github.com/llvm/llvm-project/archive/refs/tags/"+
"llvmorg-"+version+".tar.gz",
@@ -175,6 +175,8 @@ ln -s ld.lld /work/system/bin/ld
pkg.TarGzip,
), true, attr.patches...,
), &CMakeAttr{
Variant: variant,
Cache: slices.Concat(cache, attr.cmake),
Append: cmakeAppend,
Prefix: attr.prefix,