mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
mpi4py: disable test_spawn.py
test_spawn.py fails when build with openmpi-3.0.0 in a sandboxed environment.
This commit is contained in:
parent
aa83877cf8
commit
389a130e6d
|
@ -14,6 +14,12 @@ buildPythonPackage rec {
|
|||
inherit mpi;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace test/test_spawn.py --replace \
|
||||
"unittest.skipMPI('openmpi(<3.0.0)')" \
|
||||
"unittest.skipMPI('openmpi')"
|
||||
'';
|
||||
|
||||
configurePhase = "";
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue