internal/rosa: bison artifact
All checks were successful
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 2m53s
Test / Hakurei (push) Successful in 3m58s
Test / ShareFS (push) Successful in 4m7s
Test / Hpkg (push) Successful in 4m32s
Test / Sandbox (race detector) (push) Successful in 5m9s
Test / Hakurei (race detector) (push) Successful in 6m4s
Test / Flake checks (push) Successful in 1m47s

Required by dtc, which is required by qemu.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-17 00:32:04 +09:00
parent 7f05baab28
commit a3515a6ef5
2 changed files with 19 additions and 0 deletions

View File

@@ -23,6 +23,23 @@ chmod +w tests/test-c32ispunct.sh && echo '#!/bin/sh' > tests/test-c32ispunct.sh
}
func init() { artifactsF[M4] = Toolchain.newM4 }
func (t Toolchain) newBison() pkg.Artifact {
const (
version = "3.8.2"
checksum = "BhRM6K7URj1LNOkIDCFDctSErLS-Xo5d9ba9seg10o6ACrgC1uNhED7CQPgIY29Y"
)
return t.NewViaMake("bison", version, pkg.NewHTTPGetTar(
nil, "https://ftpmirror.gnu.org/gnu/bison/bison-"+version+".tar.gz",
mustDecode(checksum),
pkg.TarGzip,
), nil,
t.Load(M4),
t.Load(Diffutils),
t.Load(Sed),
)
}
func init() { artifactsF[Bison] = Toolchain.newBison }
func (t Toolchain) newSed() pkg.Artifact {
const (
version = "4.9"