All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m43s
Test / ShareFS (push) Successful in 4m0s
Test / Hpkg (push) Successful in 4m29s
Test / Sandbox (race detector) (push) Successful in 5m6s
Test / Hakurei (race detector) (push) Successful in 5m57s
Test / Hakurei (push) Successful in 2m41s
Test / Flake checks (push) Successful in 1m45s
This migrates artifacts that the helper cannot produce an identical instance of. Signed-off-by: Ophestra <cat@gensokyo.uk>
31 lines
665 B
Go
31 lines
665 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibgd() pkg.Artifact {
|
|
const (
|
|
version = "2.3.3"
|
|
checksum = "8T-sh1_FJT9K9aajgxzh8ot6vWIF-xxjcKAHvTak9MgGUcsFfzP8cAvvv44u2r36"
|
|
)
|
|
return t.NewViaMake("libgd", version, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/libgd/libgd/releases/download/"+
|
|
"gd-"+version+"/libgd-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), &MakeAttr{
|
|
OmitDefaults: true,
|
|
Env: []string{
|
|
"TMPDIR=/dev/shm/gd",
|
|
},
|
|
ScriptEarly: `
|
|
mkdir /dev/shm/gd
|
|
`,
|
|
Configure: [][2]string{
|
|
{"enable-static"},
|
|
},
|
|
},
|
|
t.Load(Zlib),
|
|
)
|
|
}
|
|
func init() { artifactsF[Libgd] = Toolchain.newLibgd }
|