mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-30 08:07:04 +00:00
rtorrent: enable paralell building
On 16-core machine build speeds up from 90s to 19s (~4.7x).
This commit is contained in:
parent
b5560cfc5e
commit
7a34492ea4
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ];
|
configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/man/man1 $out/share/doc/rtorrent
|
mkdir -p $out/share/man/man1 $out/share/doc/rtorrent
|
||||||
mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1
|
mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue