All checks were successful
Test / Create distribution (push) Successful in 58s
Test / Sandbox (push) Successful in 2m36s
Test / Hakurei (push) Successful in 3m42s
Test / ShareFS (push) Successful in 3m48s
Test / Sandbox (race detector) (push) Successful in 4m55s
Test / Hakurei (race detector) (push) Successful in 5m53s
Test / Flake checks (push) Successful in 1m35s
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>
50 lines
1.0 KiB
Go
50 lines
1.0 KiB
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newElfutils() (pkg.Artifact, string) {
|
|
const (
|
|
version = "0.194"
|
|
checksum = "Q3XUygUPv9vR1TkWucwUsQ8Kb1_F6gzk-KMPELr3cC_4AcTrprhVPMvN0CKkiYRa"
|
|
)
|
|
return t.NewPackage("elfutils", version, pkg.NewHTTPGetTar(
|
|
nil, "https://sourceware.org/elfutils/ftp/"+
|
|
version+"/elfutils-"+version+".tar.bz2",
|
|
mustDecode(checksum),
|
|
pkg.TarBzip2,
|
|
), &PackageAttr{
|
|
Env: []string{
|
|
"CC=cc" +
|
|
// nonstandard glibc extension
|
|
" -DFNM_EXTMATCH=0",
|
|
},
|
|
}, &MakeHelper{
|
|
// nonstandard glibc extension
|
|
SkipCheck: true,
|
|
|
|
Configure: [][2]string{
|
|
{"enable-deterministic-archives"},
|
|
},
|
|
},
|
|
M4,
|
|
PkgConfig,
|
|
|
|
Zlib,
|
|
Bzip2,
|
|
Zstd,
|
|
ArgpStandalone,
|
|
MuslFts,
|
|
MuslObstack,
|
|
KernelHeaders,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Elfutils] = Metadata{
|
|
f: Toolchain.newElfutils,
|
|
|
|
Name: "elfutils",
|
|
Description: "utilities and libraries to handle ELF files and DWARF data",
|
|
Website: "https://sourceware.org/elfutils/",
|
|
}
|
|
}
|