perftest/perftest.spec

46 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: perftest
Summary: IB Performance Tests
2023-02-02 15:54:26 +00:00
# Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead.
%global upstream_ver 4.5-0.20
Version: 4.5.0.20
2023-02-02 15:32:19 +00:00
Release: %autorelease
License: GPLv2 or BSD
2023-02-02 15:54:26 +00:00
Source: https://github.com/linux-rdma/perftest/releases/download/v4.5-0.20/perftest-4.5-0.20.gac7cca5.tar.gz
Url: https://github.com/linux-rdma/perftest
BuildRequires: make
BuildRequires: gcc
BuildRequires: libibverbs-devel >= 1.2.0
BuildRequires: librdmacm-devel >= 1.0.21
BuildRequires: libibumad-devel >= 1.3.10.2
BuildRequires: pciutils-devel
Obsoletes: openib-perftest < 1.3
ExcludeArch: s390 %{arm}
%description
Perftest is a collection of simple test programs designed to utilize
RDMA communications and provide performance numbers over those RDMA
connections. It does not work on normal TCP/IP networks, only on
RDMA networks.
%prep
%setup -q
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
%build
%configure
%make_build
%install
for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
done
%files
%doc README
%license COPYING
%_bindir/*
%changelog
2023-02-02 15:32:19 +00:00
%autochangelog