openmpi: 4.1.4 -> 4.1.5

This commit is contained in:
Markus Kowalewski 2023-03-16 13:11:16 +01:00
parent 0e5fb100cd
commit 8af5910be8
No known key found for this signature in database
GPG key ID: 502A248E3FB4FF48

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
{ lib, stdenv, fetchurl, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric, pmix, ucx
@ -25,21 +25,13 @@ let
};
in stdenv.mkDerivation rec {
pname = "openmpi";
version = "4.1.4";
version = "4.1.5";
src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "03ckngrff1cl0l81vfvrfhp99rbgk7s0633kr1l468yibwbjx4cj";
sha256 = "sha256-pkCYa8JXOJ3TeYhv2uYmTIz6VryYtxzjrj372M5h2+M=";
};
patches = [
(fetchpatch {
name = "RDMA-osc-perform-CAS-in-shared-memory-if-possible.patch";
url = "https://github.com/open-mpi/ompi/pull/10513/commits/0512c135a77a0278e5288e0e119dce24c95ebed4.patch";
sha256 = "sha256-K1Gc+hBUkTPY1WqLP6JWo623EUhkoL4ONrqPVDNfFuE=";
})
];
postPatch = ''
patchShebangs ./