tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openmpi: 5.0.6 -> 5.0.8
Markus Kowalewski
5 months ago
ba54c263
b7b05b94
+2
-22
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
op
openmpi
package.nix
+2
-22
pkgs/by-name/op/openmpi/package.nix
···
2
lib,
3
stdenv,
4
fetchurl,
5
-
fetchpatch,
6
removeReferencesTo,
7
gfortran,
8
perl,
···
41
42
stdenv.mkDerivation (finalAttrs: {
43
pname = "openmpi";
44
-
version = "5.0.6";
45
46
src = fetchurl {
47
url = "https://www.open-mpi.org/software/ompi/v${lib.versions.majorMinor finalAttrs.version}/downloads/openmpi-${finalAttrs.version}.tar.bz2";
48
-
sha256 = "sha256-vUGD/LxDR3wlR5m0Kd8abldsBC50otL4s31Tey/5gVc=";
49
};
50
-
51
-
patches = [
52
-
# This patch can be removed with the next openmpi update (>5.0.6)
53
-
# See https://github.com/open-mpi/ompi/issues/12784 and https://github.com/open-mpi/ompi/pull/13003
54
-
# Fixes issue where the shared memory backing file cannot be created because directory trees are never created
55
-
(fetchpatch {
56
-
name = "fix-singletons-session-dir";
57
-
url = "https://github.com/open-mpi/ompi/commit/4d4f7212decd0d0ca719688b15dc9b3ee7553a52.patch";
58
-
hash = "sha256-Mb8qXtAUhAQ90v0SdL24BoTASsKRq2Gu8nYqoeSc9DI=";
59
-
})
60
-
# This patch can be removed with the next openmpi update (>5.0.6)
61
-
# See https://github.com/open-mpi/ompi/issues/12924 and https://github.com/open-mpi/ompi/pull/12934
62
-
# Fix the size_t/int parameter compile error in coll/cuda
63
-
(fetchpatch {
64
-
name = "fix-size-t-int-parameter";
65
-
url = "https://github.com/open-mpi/ompi/commit/399f69d68735839d379913a5433ea81dbdbd98bf.patch";
66
-
hash = "sha256-TbB73a419v5JGkiyBAwe/t+6g+pzaR15yAZhdbJIXG4=";
67
-
})
68
-
];
69
70
postPatch = ''
71
patchShebangs ./
···
2
lib,
3
stdenv,
4
fetchurl,
0
5
removeReferencesTo,
6
gfortran,
7
perl,
···
40
41
stdenv.mkDerivation (finalAttrs: {
42
pname = "openmpi";
43
+
version = "5.0.8";
44
45
src = fetchurl {
46
url = "https://www.open-mpi.org/software/ompi/v${lib.versions.majorMinor finalAttrs.version}/downloads/openmpi-${finalAttrs.version}.tar.bz2";
47
+
sha256 = "sha256-UxMeGlfnJw9kVwf4sLZbpWBI9bWsP2j6q+0+sNcQ5Ek=";
48
};
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
49
50
postPatch = ''
51
patchShebangs ./