let valgrind BuildRequire following system %{valgrind_arches}
This commit is contained in:
parent
14675975c2
commit
e8bbd3ed5d
@ -1,12 +1,15 @@
|
||||
Name: fabtests
|
||||
Version: 1.6.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: libfabric API test suite
|
||||
License: BSD-2-Clause and GPL-2.0-only and MIT
|
||||
Url: https://github.com/ofiwg/fabtests
|
||||
Source: https://github.com/ofiwg/fabtests/releases/download/v%{version}/fabtests-%{version}.tar.gz
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: libfabric-devel >= %{version} valgrind-devel gcc
|
||||
BuildRequires: libfabric-devel >= %{version} gcc
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
%description
|
||||
Fabtests provides a set of examples that uses libfabric
|
||||
|
||||
@ -22,7 +25,11 @@ Documentation for user of fabtests.
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%ifarch %{valgrind_arches}
|
||||
%configure --with-valgrind
|
||||
%else
|
||||
%configure
|
||||
%endif
|
||||
%make_build V=1
|
||||
|
||||
%install
|
||||
@ -38,6 +45,9 @@ Documentation for user of fabtests.
|
||||
%{_mandir}/man7/*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 20 2023 laokz <zhangkai@iscas.ac.cn> - 1.6.2-2
|
||||
- Let valgrind BuildRequire following system %{valgrind_arches}
|
||||
|
||||
* Wed Oct 18 2023 Ge Wang <wang__ge@126.com> - 1.6.2-1
|
||||
- Update to version 1.6.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user