minimal-bootstrap.binutils: parallelise

This commit is contained in:
Emily Trau 2023-09-25 03:43:29 -07:00
parent b99da9eb04
commit 2f400edeb3
2 changed files with 5 additions and 3 deletions

View File

@ -105,10 +105,10 @@ bash.runCommand "${pname}-${version}" {
bash ./configure ${lib.concatStringsSep " " configureFlags}
# Build
make all-libiberty all-gas all-bfd all-libctf all-zlib all-gprof
make -j $NIX_BUILD_CORES all-libiberty all-gas all-bfd all-libctf all-zlib all-gprof
make all-ld # race condition on ld/.deps/ldwrite.Po, serialize
make
make -j $NIX_BUILD_CORES
# Install
make install
make -j $NIX_BUILD_CORES install
''

View File

@ -26,6 +26,8 @@ lib.makeScope
binutils = callPackage ./binutils {
bash = bash_2_05;
tinycc = tinycc-musl;
gnumake = gnumake-musl;
gnutar = gnutar-musl;
};
bzip2 = callPackage ./bzip2 {