mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
strace: set enableParallelBuilding = true
This reduces the build time from 55s to 25s on my modern 16-core machine. The main motivation for this step is that I apply a custom patch onto strace in my NixOS configuration and the build time is longer than necessary. The debian package definition shows [0] that strace can be reliably build using multiple makefile jobs. [0]0c56f62207
(cherry picked from commitdfcde71216
)
This commit is contained in:
parent
9603a116b8
commit
8344c101f3
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# libunwind for -k.
|
||||
# On RISC-V platforms, LLVM's libunwind implementation is unsupported by strace.
|
||||
# The build will silently fall back and -k will not work on RISC-V.
|
||||
|
Loading…
Reference in New Issue
Block a user