mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPackages.mpi4py: add patch for openmpi-4.0.1
This commit is contained in:
parent
0297ec2412
commit
3b08f26ebd
1 changed files with 6 additions and 0 deletions
|
@ -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)')" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue