From 7c043588b79f53af04a4d0fc72de1044dc194126 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 6 Nov 2023 13:03:56 +0200 Subject: [PATCH] Properly check valgrind arches Signed-off-by: David Abdurachmanov --- openmpi.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openmpi.spec b/openmpi.spec index 82eaf2c..702f68d 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -58,7 +58,7 @@ Name: openmpi%{?_cc_name_suffix} Version: 5.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Message Passing Interface License: BSD and MIT and Romio URL: http://www.open-mpi.org/ @@ -79,7 +79,9 @@ BuildRequires: libtool BuildRequires: perl(Data::Dumper) BuildRequires: perl(File::Find) %endif +%ifarch %{valgrind_arches} BuildRequires: valgrind-devel +%endif %if %{with rdma} BuildRequires: opensm-devel > 3.3.0 BuildRequires: rdma-core-devel @@ -248,8 +250,10 @@ OpenMPI support for Python 3. %endif --with-prrte=external \ --with-sge \ +%ifarch %{valgrind_arches} --with-valgrind \ --enable-memchecker \ +%endif --with-hwloc=/usr \ %if !0%{?el7} --with-libevent=external \ @@ -440,6 +444,9 @@ make check || ( cat test/*/test-suite.log && exit $fail ) %changelog +* Mon Mar 04 2024 David Abdurachmanov - 5.0.2-2 +- Add support for riscv64 + * Wed Feb 07 2024 Orion Poplawski - 5.0.2-1 - Update to 5.0.2