From ba54c263097f87c9306901e1a03e8755a6b9d790 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 9 Jun 2025 17:15:25 +0200 Subject: [PATCH 1/2] openmpi: 5.0.6 -> 5.0.8 --- pkgs/by-name/op/openmpi/package.nix | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/pkgs/by-name/op/openmpi/package.nix b/pkgs/by-name/op/openmpi/package.nix index 791a78b05b17..01f9c8fb4310 100644 --- a/pkgs/by-name/op/openmpi/package.nix +++ b/pkgs/by-name/op/openmpi/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchurl, - fetchpatch, removeReferencesTo, gfortran, perl, @@ -41,32 +40,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "openmpi"; - version = "5.0.6"; + version = "5.0.8"; src = fetchurl { url = "https://www.open-mpi.org/software/ompi/v${lib.versions.majorMinor finalAttrs.version}/downloads/openmpi-${finalAttrs.version}.tar.bz2"; - sha256 = "sha256-vUGD/LxDR3wlR5m0Kd8abldsBC50otL4s31Tey/5gVc="; + sha256 = "sha256-UxMeGlfnJw9kVwf4sLZbpWBI9bWsP2j6q+0+sNcQ5Ek="; }; - patches = [ - # This patch can be removed with the next openmpi update (>5.0.6) - # See https://github.com/open-mpi/ompi/issues/12784 and https://github.com/open-mpi/ompi/pull/13003 - # Fixes issue where the shared memory backing file cannot be created because directory trees are never created - (fetchpatch { - name = "fix-singletons-session-dir"; - url = "https://github.com/open-mpi/ompi/commit/4d4f7212decd0d0ca719688b15dc9b3ee7553a52.patch"; - hash = "sha256-Mb8qXtAUhAQ90v0SdL24BoTASsKRq2Gu8nYqoeSc9DI="; - }) - # This patch can be removed with the next openmpi update (>5.0.6) - # See https://github.com/open-mpi/ompi/issues/12924 and https://github.com/open-mpi/ompi/pull/12934 - # Fix the size_t/int parameter compile error in coll/cuda - (fetchpatch { - name = "fix-size-t-int-parameter"; - url = "https://github.com/open-mpi/ompi/commit/399f69d68735839d379913a5433ea81dbdbd98bf.patch"; - hash = "sha256-TbB73a419v5JGkiyBAwe/t+6g+pzaR15yAZhdbJIXG4="; - }) - ]; - postPatch = '' patchShebangs ./ From db93ad6687e2f2e16a49633f62cb51533bd73567 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sun, 7 Sep 2025 21:24:39 +0200 Subject: [PATCH 2/2] openmpi: remove env.SOURCE_DATE_EPOCH --- pkgs/by-name/op/openmpi/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/op/openmpi/package.nix b/pkgs/by-name/op/openmpi/package.nix index 01f9c8fb4310..2984c4c035d9 100644 --- a/pkgs/by-name/op/openmpi/package.nix +++ b/pkgs/by-name/op/openmpi/package.nix @@ -70,7 +70,6 @@ stdenv.mkDerivation (finalAttrs: { env = { USER = "nixbld"; HOSTNAME = "localhost"; - SOURCE_DATE_EPOCH = "0"; }; outputs = [