first check if Valgrind supports the architecture

This commit is contained in:
Yinsist 2024-04-29 06:42:45 +00:00
parent 80941e7b9e
commit 505cb66c30

View File

@ -1,6 +1,6 @@
Name: rdma-core Name: rdma-core
Version: 50.0 Version: 50.0
Release: 9 Release: 10
Summary: RDMA core userspace libraries and daemons Summary: RDMA core userspace libraries and daemons
License: GPLv2 or BSD License: GPLv2 or BSD
Url: https://github.com/linux-rdma/rdma-core 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 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: 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: python3-devel python3-Cython python3 python3-docutils perl-generators
BuildRequires: ninja-build BuildRequires: ninja-build
@ -618,6 +621,12 @@ fi
%doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules %doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules
%changelog %changelog
* Sun May 12 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 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 <zhoujuan51@h-partners.com> - 50.0-9 * Sat May 11 2024 Juan Zhou <zhoujuan51@h-partners.com> - 50.0-9
- Type: bugfix - Type: bugfix
- ID: NA - ID: NA