about summary refs log tree commit diff
path: root/pkgs/applications/emulators/wine
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2023-09-06 23:26:59 -0400
committerAndrew Marshall <andrew@johnandrewmarshall.com>2023-09-06 23:26:59 -0400
commitb983f84b1f4d1faa3c972da7433e22bcf54b9435 (patch)
tree713ccd3a017f033b75bf564bcdc2a9af1cefb6e0 /pkgs/applications/emulators/wine
parent3c15feef7770eb5500a4b8792623e2d6f598c9c1 (diff)
downloadnixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.tar
nixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.tar.gz
nixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.tar.bz2
nixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.tar.lz
nixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.tar.xz
nixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.tar.zst
nixlib-b983f84b1f4d1faa3c972da7433e22bcf54b9435.zip
wine: install in parallel
On a 48-thread CPU, this reduced the time of `nix-build -A
wineWowPackages.stable` from ~15 min. to ~10 min.
Diffstat (limited to 'pkgs/applications/emulators/wine')
-rw-r--r--pkgs/applications/emulators/wine/builder-wow.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/emulators/wine/builder-wow.sh b/pkgs/applications/emulators/wine/builder-wow.sh
index f07b1e8c249c..7608e5c57eb4 100644
--- a/pkgs/applications/emulators/wine/builder-wow.sh
+++ b/pkgs/applications/emulators/wine/builder-wow.sh
@@ -45,7 +45,7 @@ buildPhase
 # checkPhase
 
 eval "$preInstall"
-cd $TMP/wine-wow && make install
-cd $TMP/wine64 && make install
+cd $TMP/wine-wow && make install -j$NIX_BUILD_CORES
+cd $TMP/wine64 && make install -j$NIX_BUILD_CORES
 eval "$postInstall"
 fixupPhase