All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m32s
Test / Hakurei (push) Successful in 3m39s
Test / ShareFS (push) Successful in 3m44s
Test / Sandbox (race detector) (push) Successful in 5m0s
Test / Hakurei (race detector) (push) Successful in 5m56s
Test / Flake checks (push) Successful in 1m29s
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
28 lines
729 B
Go
28 lines
729 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibffi() (pkg.Artifact, string) {
|
|
const (
|
|
version = "3.4.5"
|
|
checksum = "apIJzypF4rDudeRoI_n3K7N-zCeBLTbQlHRn9NSAZqdLAWA80mR0gXPTpHsL7oMl"
|
|
)
|
|
return t.NewPackage("libffi", version, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/libffi/libffi/releases/download/"+
|
|
"v"+version+"/libffi-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), nil, (*MakeHelper)(nil),
|
|
KernelHeaders,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Libffi] = Metadata{
|
|
f: Toolchain.newLibffi,
|
|
|
|
Name: "libffi",
|
|
Description: "a portable, high level programming interface to various calling conventions",
|
|
Website: "https://sourceware.org/libffi/",
|
|
}
|
|
}
|