Merge pull request #120679 from lukegb/big-parallel

treewide: require big-parallel on large, slow builds
This commit is contained in:
Graham Christensen
2021-04-25 21:22:57 -04:00
committed by GitHub
5 changed files with 15 additions and 0 deletions

View File

@@ -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/";