perftest/perftest.spec

46 lines
1.2 KiB
RPMSpec
Raw Normal View History

2019-12-08 19:21:27 +08:00
Name: perftest
Version: 4.2
2021-08-03 15:35:10 +08:00
Release: 7
2019-12-08 19:21:27 +08:00
License: GPLv2 or BSD
Summary: RDMA Performance Testing Tools
Url: https://github.com/linux-rdma/perftest
Source: https://github.com/linux-rdma/%{name}/releases/download/V4.2-0.8/perftest-4.2-0.8.g0e24e67.tar.gz
2019-12-08 19:12:15 +08:00
2021-06-04 16:39:57 +08:00
BuildRequires: gcc libibverbs-devel >= 1.2.0 librdmacm-devel >= 1.0.21 libibumad-devel >= 1.3.10.2
2019-12-08 19:21:27 +08:00
Obsoletes: openib-perftest < 1.3
2019-12-08 19:12:15 +08:00
2021-08-03 15:35:10 +08:00
Patch0001: bugfix-of-gcc-10.patch
2019-12-08 19:12:15 +08:00
%description
2019-12-08 19:21:27 +08:00
Perftest is a collection of simple tools for testing bandwidth and latency over RDMA connections.
2019-12-08 19:12:15 +08:00
%prep
2019-12-08 19:21:27 +08:00
%autosetup -p1
2019-12-08 19:12:15 +08:00
%build
2019-12-08 19:21:27 +08:00
%configure
2021-08-03 15:35:10 +08:00
%make_build CFLAGS+="-fPIC -g -Wall -D_GNU_SOURCE -O3"
2019-12-08 19:12:15 +08:00
%install
2019-12-08 19:21:27 +08:00
for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
2019-12-08 19:12:15 +08:00
done
2019-12-08 19:21:27 +08:00
%files
%doc README COPYING
%_bindir/*
2019-12-08 19:12:15 +08:00
%changelog
2021-08-03 15:35:10 +08:00
* Tue 3 Aug 2021 Shenmei Tu <tushenmei@huawei.com> - 4.2-7
- bugfix-of-gcc-10.patch
2021-07-30 17:22:40 +08:00
* Fri 30 July 2021 Shenmei Tu <tushenmei@huawei.com> - 4.2-6
- bug fix of multiple definition
2021-06-04 16:39:57 +08:00
* Web 02 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 4.2-5
- fixs faileds: /bin/sh: gcc: command not found.
2019-12-08 19:21:27 +08:00
* Tue Nov 13 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 4.2-4
- Package init