All checks were successful
Test / Create distribution (push) Successful in 54s
Test / Sandbox (push) Successful in 3m4s
Test / Hakurei (push) Successful in 4m10s
Test / ShareFS (push) Successful in 3m12s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m21s
Test / Flake checks (push) Successful in 1m24s
Signed-off-by: Ophestra <cat@gensokyo.uk>
30 lines
742 B
Go
30 lines
742 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibffi() (pkg.Artifact, string) {
|
|
const (
|
|
version = "3.5.2"
|
|
checksum = "2_Q-ZNBBbVhltfL5zEr0wljxPegUimTK4VeMSiwJEGksls3n4gj3lV0Ly3vviSFH"
|
|
)
|
|
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/",
|
|
|
|
ID: 1611,
|
|
}
|
|
}
|