internal/rosa/gnu: libtool artifact
All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m54s
Test / ShareFS (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m37s
Test / Sandbox (race detector) (push) Successful in 5m5s
Test / Hakurei (race detector) (push) Successful in 6m14s
Test / Flake checks (push) Successful in 1m43s
All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m54s
Test / ShareFS (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m37s
Test / Sandbox (race detector) (push) Successful in 5m5s
Test / Hakurei (race detector) (push) Successful in 6m14s
Test / Flake checks (push) Successful in 1m43s
Required when generating autotools build systems. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -35,6 +35,7 @@ const (
|
|||||||
Libexpat
|
Libexpat
|
||||||
Libffi
|
Libffi
|
||||||
Libgd
|
Libgd
|
||||||
|
Libtool
|
||||||
Libseccomp
|
Libseccomp
|
||||||
Libxml2
|
Libxml2
|
||||||
M4
|
M4
|
||||||
@@ -119,6 +120,7 @@ func ResolveName(name string) (p PArtifact, ok bool) {
|
|||||||
"libxml2": Libxml2,
|
"libxml2": Libxml2,
|
||||||
"libffi": Libffi,
|
"libffi": Libffi,
|
||||||
"libgd": Libgd,
|
"libgd": Libgd,
|
||||||
|
"libtool": Libtool,
|
||||||
"m4": M4,
|
"m4": M4,
|
||||||
"make": Make,
|
"make": Make,
|
||||||
"meson": Meson,
|
"meson": Meson,
|
||||||
|
|||||||
@@ -99,6 +99,26 @@ test_disable '#!/bin/sh' t/pr9.sh
|
|||||||
}
|
}
|
||||||
func init() { artifactsF[Automake] = Toolchain.newAutomake }
|
func init() { artifactsF[Automake] = Toolchain.newAutomake }
|
||||||
|
|
||||||
|
func (t Toolchain) newLibtool() pkg.Artifact {
|
||||||
|
const (
|
||||||
|
version = "2.5.4"
|
||||||
|
checksum = "pa6LSrQggh8mSJHQfwGjysAApmZlGJt8wif2cCLzqAAa2jpsTY0jZ-6stS3BWZ2Q"
|
||||||
|
)
|
||||||
|
return t.NewViaMake("libtool", version, pkg.NewHTTPGetTar(
|
||||||
|
nil, "https://ftpmirror.gnu.org/gnu/libtool/libtool-"+version+".tar.gz",
|
||||||
|
mustDecode(checksum),
|
||||||
|
pkg.TarGzip,
|
||||||
|
), &MakeAttr{
|
||||||
|
Env: []string{
|
||||||
|
"TESTSUITEFLAGS=" + strconv.Itoa(runtime.NumCPU()),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
t.Load(M4),
|
||||||
|
t.Load(Diffutils),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
func init() { artifactsF[Libtool] = Toolchain.newLibtool }
|
||||||
|
|
||||||
func (t Toolchain) newGzip() pkg.Artifact {
|
func (t Toolchain) newGzip() pkg.Artifact {
|
||||||
const (
|
const (
|
||||||
version = "1.14"
|
version = "1.14"
|
||||||
|
|||||||
Reference in New Issue
Block a user