From 3fdfb3c05f54634b056caca8f9d0c8743e4238de Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 30 Oct 2023 21:06:00 +0100 Subject: [PATCH] Fedora 40 dropped openmpi support on i386 --- valgrind.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/valgrind.spec b/valgrind.spec index 277bf90..b3421cd 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -15,11 +15,16 @@ URL: https://www.valgrind.org/ # We never want the openmpi subpackage when building a software collecton. # We always want it for fedora. # We only want it for older rhel. But not s390x for too old rhel. +# And on fedora > 39 i386 dropped openmpi. %if %{is_scl} %global build_openmpi 0 %else %if 0%{?fedora} - %global build_openmpi 1 + %ifarch %{ix86} + %global build_openmpi (%{?fedora} < 40) + %else + %global build_openmpi 1 + %endif %endif %if 0%{?rhel} %if 0%{?rhel} > 7 @@ -460,6 +465,7 @@ fi %changelog * Mon Oct 30 2023 Mark Wielaard - 3.22.0-0.2.RC2 - Update valgrind-3.21.0-no-memcpy-replace-check.patch +- Fedora 40 dropped openmpi support on i386 * Thu Oct 26 2023 Mark Wielaard - 3.22.0-0.1.RC2 - Upstream 3.22.0-RC2