Skip to content

Commit b80fccf

Browse files
committed
python3Packages.mpi4py: skip spawn related tests for openmpi
1 parent f1964ee commit b80fccf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/development/python-modules/mpi4py/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ buildPythonPackage rec {
5454

5555
__darwinAllowLocalNetworking = true;
5656

57+
# skip spawn related tests for openmpi implemention
58+
# see https://github.com/mpi4py/mpi4py/issues/545#issuecomment-2343011460
59+
env.MPI4PY_TEST_SPAWN = if mpi.pname == "openmpi" then 0 else 1;
60+
5761
passthru = {
5862
inherit mpi;
5963
};

0 commit comments

Comments
 (0)