From eeeaa150a833bd69fe7dd8afaa16e3df8357c1fd Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 25 Apr 2021 14:32:33 +0000 Subject: [PATCH 1/5] ceph: require big-parallel It takes 3h+ for a 2 core build, and 24m for a big-parallel build for x86_64. For aarch64-linux, it times out with 2 cores. --- pkgs/tools/filesystems/ceph/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix index 413fc9de185..57d5845c996 100644 --- a/pkgs/tools/filesystems/ceph/default.nix +++ b/pkgs/tools/filesystems/ceph/default.nix @@ -198,6 +198,9 @@ in rec { doCheck = false; # uses pip to install things from the internet + # Takes 7+h to build with 2 cores. + requiredSystemFeatures = [ "big-parallel" ]; + meta = getMeta "Distributed storage system"; passthru.version = version; From b1173688a83f7f30f26edf60e9f2ce13ba1187e5 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 25 Apr 2021 14:36:22 +0000 Subject: [PATCH 2/5] clickhouse: require big-parallel It takes 7h+ on a "normal" 2-core-allocated Packet builder, and 20m on a big-parallel machine. --- pkgs/servers/clickhouse/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/clickhouse/default.nix b/pkgs/servers/clickhouse/default.nix index 063964b2f6a..02c0b4aa5e5 100644 --- a/pkgs/servers/clickhouse/default.nix +++ b/pkgs/servers/clickhouse/default.nix @@ -70,6 +70,9 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; + # Builds in 7+h with 2 cores, and ~20m with a big-parallel builder. + requiredSystemFeatures = [ "big-parallel" ]; + meta = with lib; { homepage = "https://clickhouse.tech/"; description = "Column-oriented database management system"; From 300d303d258e21bd989a4ff566fec3e06959c86f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 26 Apr 2021 00:30:45 +0000 Subject: [PATCH 3/5] aws-sdk-cpp: require big-parallel This compiles in ~2h on a 2-core builder, and 10m on a big-parallel machine. --- pkgs/development/libraries/aws-sdk-cpp/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix index d6fbb97014d..7fd7b2fbbdd 100644 --- a/pkgs/development/libraries/aws-sdk-cpp/default.nix +++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix @@ -63,6 +63,9 @@ stdenv.mkDerivation rec { ./cmake-dirs.patch ]; + # Builds in 2+h with 2 cores, and ~10m with a big-parallel builder. + requiredSystemFeatures = [ "big-parallel" ]; + meta = with lib; { description = "A C++ interface for Amazon Web Services"; homepage = "https://github.com/awslabs/aws-sdk-cpp"; From 0d4abe5d4b63d55f3b93cd744218cf519a9789a0 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 26 Apr 2021 00:44:48 +0000 Subject: [PATCH 4/5] python3Packages.pytorch: require big-parallel This compiles in usually about 2h15m with a 2-core build, but about 10m on a big-parallel machine. --- pkgs/development/python-modules/pytorch/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index 1436153e1db..59a8c74f709 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -297,6 +297,9 @@ in buildPythonPackage rec { install_name_tool -change @rpath/libc10.dylib $lib/lib/libc10.dylib $lib/lib/libshm.dylib ''; + # Builds in 2+h with 2 cores, and ~15m with a big-parallel builder. + requiredSystemFeatures = [ "big-parallel" ]; + meta = with lib; { description = "Open source, prototype-to-production deep learning platform"; homepage = "https://pytorch.org/"; From 3429633af36bcedff106c05e3cc1173641ffc32f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 26 Apr 2021 00:49:20 +0000 Subject: [PATCH 5/5] qemu: require big-parallel Compiles in about 2h50m on a 2-core builder, and 20m on a big-parallel machine. --- pkgs/applications/virtualization/qemu/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index c04d3b33945..a3f737e4a81 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -177,6 +177,9 @@ stdenv.mkDerivation rec { qemu-system-i386 = "bin/qemu-system-i386"; }; + # Builds in ~3h with 2 cores, and ~20m with a big-parallel builder. + requiredSystemFeatures = [ "big-parallel" ]; + meta = with lib; { homepage = "http://www.qemu.org/"; description = "A generic and open source machine emulator and virtualizer";