File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchurl ,
5+ fetchpatch ,
56 removeReferencesTo ,
67 gfortran ,
78 perl ,
@@ -47,6 +48,17 @@ stdenv.mkDerivation (finalAttrs: {
4748 sha256 = "sha256-vUGD/LxDR3wlR5m0Kd8abldsBC50otL4s31Tey/5gVc=" ;
4849 } ;
4950
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+ ] ;
61+
5062 postPatch = ''
5163 patchShebangs ./
5264
You can’t perform that action at this time.
0 commit comments