python3Packages.captum: reduce openmp threads during tests
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
buildPythonPackage,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
@@ -53,6 +52,10 @@ buildPythonPackage rec {
|
||||
scikit-learn
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=1
|
||||
'';
|
||||
|
||||
disabledTestPaths =
|
||||
lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# These tests may fail if multiple builds run them at the same time due
|
||||
|
||||
Reference in New Issue
Block a user