From 3b08f26ebd46332afad1e78e5257e7bffffe5a20 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Tue, 9 Apr 2019 11:03:06 +0200 Subject: pythonPackages.mpi4py: add patch for openmpi-4.0.1 --- pkgs/development/python-modules/mpi4py/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development/python-modules') diff --git a/pkgs/development/python-modules/mpi4py/default.nix b/pkgs/development/python-modules/mpi4py/default.nix index 5984f2bcb7c..f003a04e55e 100644 --- a/pkgs/development/python-modules/mpi4py/default.nix +++ b/pkgs/development/python-modules/mpi4py/default.nix @@ -13,6 +13,12 @@ buildPythonPackage rec { inherit mpi; }; + patches = [ ( fetchpatch { + # Upstream patch to ensure compatibility with openmpi-4.0.1 + url = "https://github.com/mpi4py/mpi4py/commit/42f5e35a6a90454516c11131549a08cd766edbb0.patch"; + sha256 = "1dm0i3amwj1cddzz1m9ssd7qp655c8rv1wzjs9ww3kzd90fm4w72"; + })]; + postPatch = '' substituteInPlace test/test_spawn.py --replace \ "unittest.skipMPI('openmpi(<3.0.0)')" \ -- cgit 1.4.1