diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-10-20 09:06:28 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2021-10-20 09:13:03 +0100 |
commit | 9e510d0ab1eee6a3bd8483b3d291414fa97a8d0b (patch) | |
tree | 3358085aad5e78f01d3af2728646d5ede1f28756 /pkgs/tools/networking/p2p | |
parent | 79bbe7b847398e9cf06d941f8c5a311dcfccb174 (diff) |
libtorrent: enable paralell building
On 16-core machine build speeds up from 81s to 16s (~5x).
Diffstat (limited to 'pkgs/tools/networking/p2p')
-rw-r--r-- | pkgs/tools/networking/p2p/libtorrent/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/p2p/libtorrent/default.nix b/pkgs/tools/networking/p2p/libtorrent/default.nix index 4d3ccf5fc1506..9a635512f04f8 100644 --- a/pkgs/tools/networking/p2p/libtorrent/default.nix +++ b/pkgs/tools/networking/p2p/libtorrent/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config autoreconfHook ]; buildInputs = [ cppunit openssl libsigcxx zlib ]; + enableParallelBuilding = true; + meta = with lib; { homepage = "https://github.com/rakshasa/libtorrent"; description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code"; |