Merge pull request #193691 from mweinelt/scipy-limit-omp-threads
This commit is contained in:
@@ -54,6 +54,7 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pushd "$out"
|
||||
export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 ))
|
||||
${python.interpreter} -c "import scipy; scipy.test('fast', verbose=10, parallel=$NIX_BUILD_CORES)"
|
||||
popd
|
||||
runHook postCheck
|
||||
|
||||
Reference in New Issue
Block a user