internal/rosa: bc artifact
All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m32s
Test / Hakurei (push) Successful in 3m44s
Test / ShareFS (push) Successful in 3m57s
Test / Hpkg (push) Successful in 4m28s
Test / Sandbox (race detector) (push) Successful in 4m59s
Test / Hakurei (race detector) (push) Successful in 6m10s
Test / Flake checks (push) Successful in 1m41s
All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m32s
Test / Hakurei (push) Successful in 3m44s
Test / ShareFS (push) Successful in 3m57s
Test / Hpkg (push) Successful in 4m28s
Test / Sandbox (race detector) (push) Successful in 4m59s
Test / Hakurei (race detector) (push) Successful in 6m10s
Test / Flake checks (push) Successful in 1m41s
Required by the kernel. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -15,6 +15,7 @@ const (
|
|||||||
Attr
|
Attr
|
||||||
Autoconf
|
Autoconf
|
||||||
Automake
|
Automake
|
||||||
|
BC
|
||||||
Bash
|
Bash
|
||||||
Binutils
|
Binutils
|
||||||
Bison
|
Bison
|
||||||
@@ -135,6 +136,7 @@ func ResolveName(name string) (p PArtifact, ok bool) {
|
|||||||
"attr": Attr,
|
"attr": Attr,
|
||||||
"autoconf": Autoconf,
|
"autoconf": Autoconf,
|
||||||
"automake": Automake,
|
"automake": Automake,
|
||||||
|
"bc": BC,
|
||||||
"bash": Bash,
|
"bash": Bash,
|
||||||
"binutils": Binutils,
|
"binutils": Binutils,
|
||||||
"bison": Bison,
|
"bison": Bison,
|
||||||
|
|||||||
@@ -386,6 +386,26 @@ echo 'int main(){return 0;}' > tests/xargs/test-sigusr.c
|
|||||||
}
|
}
|
||||||
func init() { artifactsF[Findutils] = Toolchain.newFindutils }
|
func init() { artifactsF[Findutils] = Toolchain.newFindutils }
|
||||||
|
|
||||||
|
func (t Toolchain) newBC() pkg.Artifact {
|
||||||
|
const (
|
||||||
|
version = "1.08.2"
|
||||||
|
checksum = "8h6f3hjV80XiFs6v9HOPF2KEyg1kuOgn5eeFdVspV05ODBVQss-ey5glc8AmneLy"
|
||||||
|
)
|
||||||
|
return t.NewViaMake("bc", version, t.NewPatchedSource(
|
||||||
|
"bc", version, pkg.NewHTTPGetTar(
|
||||||
|
nil, "https://ftpmirror.gnu.org/gnu/bc/bc-"+version+".tar.gz",
|
||||||
|
mustDecode(checksum),
|
||||||
|
pkg.TarGzip,
|
||||||
|
), false,
|
||||||
|
), &MakeAttr{
|
||||||
|
Writable: true,
|
||||||
|
},
|
||||||
|
t.Load(Perl),
|
||||||
|
t.Load(Texinfo),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
func init() { artifactsF[BC] = Toolchain.newBC }
|
||||||
|
|
||||||
func (t Toolchain) newBinutils() pkg.Artifact {
|
func (t Toolchain) newBinutils() pkg.Artifact {
|
||||||
const (
|
const (
|
||||||
version = "2.45"
|
version = "2.45"
|
||||||
|
|||||||
Reference in New Issue
Block a user