From d385b8f5972d4a0885c29c6bac87471bf622c133 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 24 Apr 2021 01:10:47 +0000 Subject: [PATCH] python3Packages.tensorflow: mark as requiring big-parallel The Bazel build part of tensorflow builds can really use as many cores as is available - to avoid blocking a small machine for literally hours while it churns away, mark the build as big-parallel so we can schedule it to run quickly on a machine with lots of cores. --- pkgs/development/python-modules/tensorflow/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix index 0e2df1a4678..0216c05eeac 100644 --- a/pkgs/development/python-modules/tensorflow/default.nix +++ b/pkgs/development/python-modules/tensorflow/default.nix @@ -325,6 +325,10 @@ let addOpenGLRunpath "$lib" done ''; + + requiredSystemFeatures = [ + "big-parallel" + ]; }; meta = with lib; {