forked from security/hakurei
internal/rosa/gnu: binutils artifact
Appears to be required by GCC? It complains with stuff installed by LLVM. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -15,6 +15,7 @@ const (
|
||||
Autoconf
|
||||
Automake
|
||||
Bash
|
||||
Binutils
|
||||
CMake
|
||||
Coreutils
|
||||
Curl
|
||||
@@ -106,6 +107,7 @@ func ResolveName(name string) (p PArtifact, ok bool) {
|
||||
"autoconf": Autoconf,
|
||||
"automake": Automake,
|
||||
"bash": Bash,
|
||||
"binutils": Binutils,
|
||||
"cmake": CMake,
|
||||
"coreutils": Coreutils,
|
||||
"curl": Curl,
|
||||
|
||||
@@ -351,6 +351,25 @@ echo 'int main(){return 0;}' > tests/xargs/test-sigusr.c
|
||||
}
|
||||
func init() { artifactsF[Findutils] = Toolchain.newFindutils }
|
||||
|
||||
func (t Toolchain) newBinutils() pkg.Artifact {
|
||||
const (
|
||||
version = "2.45"
|
||||
checksum = "hlLtqqHDmzAT2OQVHaKEd_io2DGFvJkaeS-igBuK8bRRir7LUKGHgHYNkDVKaHTT"
|
||||
)
|
||||
return t.NewViaMake("binutils", version, pkg.NewHTTPGetTar(
|
||||
nil, "https://ftpmirror.gnu.org/gnu/binutils/binutils-"+version+".tar.bz2",
|
||||
mustDecode(checksum),
|
||||
pkg.TarBzip2,
|
||||
), &MakeAttr{
|
||||
ScriptConfigured: `
|
||||
make "-j$(nproc)"
|
||||
`,
|
||||
},
|
||||
t.Load(Bash),
|
||||
)
|
||||
}
|
||||
func init() { artifactsF[Binutils] = Toolchain.newBinutils }
|
||||
|
||||
func (t Toolchain) newGMP() pkg.Artifact {
|
||||
const (
|
||||
version = "6.3.0"
|
||||
|
||||
Reference in New Issue
Block a user