mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03: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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue