Properly check valgrind arches

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-01-08 11:36:45 +02:00
parent a17bda215f
commit cf4b65a25c
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: fabtests
Version: 1.18.0
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Test suite for libfabric API
# include/jsmn.h and common/jsmn.c are licensed under MIT.
# All other source files permit distribution under BSD. Some of them
@ -11,7 +11,9 @@ Url: https://github.com/ofiwg/libfabric
Source: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Patch0: 0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch
BuildRequires: libfabric-devel >= %{version}
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
BuildRequires: gcc
BuildRequires: make
Requires: python3-pytest