All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m43s
Test / Hakurei (push) Successful in 3m52s
Test / ShareFS (push) Successful in 3m59s
Test / Hpkg (push) Successful in 4m25s
Test / Sandbox (race detector) (push) Successful in 5m1s
Test / Hakurei (race detector) (push) Successful in 5m57s
Test / Flake checks (push) Successful in 1m58s
This change only migrates artifacts that remain unchanged under the helper, so this change should not cause any rebuilds. Signed-off-by: Ophestra <cat@gensokyo.uk>
24 lines
572 B
Go
24 lines
572 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibffi() pkg.Artifact {
|
|
const (
|
|
version = "3.4.5"
|
|
checksum = "apIJzypF4rDudeRoI_n3K7N-zCeBLTbQlHRn9NSAZqdLAWA80mR0gXPTpHsL7oMl"
|
|
)
|
|
return t.NewViaMake("libffi", version, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/libffi/libffi/releases/download/"+
|
|
"v"+version+"/libffi-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), &MakeAttr{
|
|
Configure: [][2]string{
|
|
{"enable-static"},
|
|
},
|
|
},
|
|
t.Load(KernelHeaders),
|
|
)
|
|
}
|
|
func init() { artifactsF[Libffi] = Toolchain.newLibffi }
|