From 48502eb2372aea82aaadf971bad10372877a48ff Mon Sep 17 00:00:00 2001 From: Yinsist Date: Mon, 29 Apr 2024 06:42:45 +0000 Subject: [PATCH] first check if Valgrind supports the architecture (cherry picked from commit 505cb66c308f971b5ef07d95034f9b54babda4b2) --- rdma-core.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/rdma-core.spec b/rdma-core.spec index 4db035d..fc16708 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 50.0 -Release: 9 +Release: 10 Summary: RDMA core userspace libraries and daemons License: GPLv2 or BSD Url: https://github.com/linux-rdma/rdma-core @@ -41,7 +41,10 @@ patch32: 0032-libhns-Clean-up-signed-unsigned-mix-with-relational-.patch patch33: 0033-libhns-Fix-missing-flag-when-creating-qp-by-hnsdv_cr.patch BuildRequires: binutils cmake >= 2.8.11 gcc libudev-devel pkgconfig pkgconfig(libnl-3.0) -BuildRequires: pkgconfig(libnl-route-3.0) valgrind-devel systemd systemd-devel +BuildRequires: pkgconfig(libnl-route-3.0) systemd systemd-devel +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif BuildRequires: python3-devel python3-Cython python3 python3-docutils perl-generators BuildRequires: ninja-build @@ -618,6 +621,12 @@ fi %doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules %changelog +* Sun May 12 2024 yinsist - 50.0-10 +- Type: requirement +- ID: NA +- SUG: NA +- DESC: Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture + * Sat May 11 2024 Juan Zhou - 50.0-9 - Type: bugfix - ID: NA -- Gitee