From e600b8b00b337e15444fd1167c1dc24a36687fb8 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Fri, 8 Nov 2024 16:37:35 +0100 Subject: [PATCH] newlib: enable parallel build ... for massively decreasing the build time. On my laptop, this drops build times from 40s to 10s. --- pkgs/development/misc/newlib/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/misc/newlib/default.nix b/pkgs/development/misc/newlib/default.nix index f9490ac1d2bf..644017a886da 100644 --- a/pkgs/development/misc/newlib/default.nix +++ b/pkgs/development/misc/newlib/default.nix @@ -86,6 +86,7 @@ stdenv.mkDerivation (finalAttrs: { "--enable-newlib-retargetable-locking" ]); + enableParallelBuilding = true; dontDisableStatic = true; # apply necessary nano changes from https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/manifest/copy_nano_libraries.sh?rev=4c50be6ccb9c4205a5262a3925317073&hash=1375A7B0A1CD0DB9B9EB0D2B574ADF66