internal/rosa/cmake: optional variant string

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

@@ -7,7 +7,7 @@ func (t Toolchain) newZstd() pkg.Artifact {
version = "1.5.7"
checksum = "4XhfR7DwVkwo1R-TmYDAJOcx9YXv9WSFhcFUe3hWEAMmdMLPhFaznCqYIA19_xxV"
)
return t.NewViaCMake("zstd", version, "full", pkg.NewHTTPGetTar(
return t.NewViaCMake("zstd", version, pkg.NewHTTPGetTar(
nil, "https://github.com/facebook/zstd/releases/download/"+
"v"+version+"/zstd-"+version+".tar.gz",
mustDecode(checksum),