Blame SPECS/perftest.spec

e47a9c
Name:		perftest
e47a9c
Summary:	IB Performance Tests
3de811
Version:	4.4
e1b437
%define         minor_release 0.32
e1b437
%define         git_hash g6fc89a9
e1b437
Release:        8%{?dist}
e47a9c
License:	GPLv2 or BSD
e47a9c
Source0:	https://github.com/linux-rdma/perftest/releases/download/V%{version}-%{minor_release}/perftest-%{version}-%{minor_release}.%{git_hash}.tar.gz
e47a9c
Source1:	ib_atomic_bw.1
e1b437
Patch1:		0001-Check-PCIe-relaxed-ordering-compliant.patch
e1b437
Url:		https://github.com/linux-rdma/perftest
e47a9c
BuildRequires:	libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14
e47a9c
BuildRequires:	libibumad-devel > 1.3.6
e1b437
BuildRequires:	pciutils-devel
e47a9c
BuildRequires:	autoconf, automake, libtool
e47a9c
Obsoletes:	openib-perftest < 1.3
e47a9c
e47a9c
%description
e47a9c
Perftest is a collection of simple test programs designed to utilize 
e47a9c
RDMA communications and provide performance numbers over those RDMA
e47a9c
connections.  It does not work on normal TCP/IP networks, only on
e47a9c
RDMA networks.
e47a9c
e47a9c
%prep
e47a9c
%setup -q
e47a9c
%patch1 -p1
e47a9c
autoreconf --force --install
e47a9c
e47a9c
%build
e47a9c
%configure
e1b437
%make_build
e47a9c
e47a9c
%install
e47a9c
for file in ib_{atomic,read,send,write}_{lat,bw}; do
e47a9c
	install -D -m 0755 $file %{buildroot}%{_bindir}/$file
e47a9c
done
e47a9c
for file in raw_ethernet_{lat,bw}; do
e47a9c
	install -D -m 0755 $file %{buildroot}%{_bindir}/$file
e47a9c
done
e47a9c
mkdir -p %{buildroot}%{_mandir}/man1/
e47a9c
install -D -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/
e47a9c
pushd %{buildroot}%{_mandir}/man1/
e47a9c
for file in ib_atomic_lat ib_{read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
e47a9c
	ln -s ib_atomic_bw.1 ${file}.1
e47a9c
done
e47a9c
popd
e47a9c
e47a9c
%files
e1b437
%doc README
e47a9c
%{_bindir}/*
e47a9c
%{_mandir}/man1/*
e1b437
%license COPYING
e47a9c
e47a9c
%changelog
e1b437
* Sat Jan 30 2021 Honggang Li <honli@redhat.com> - 4.4-8
e1b437
- Check PCIe relaxed ordering compliant
e1b437
- Resolves: rhbz#1902855
e1b437
e1b437
* Thu Nov 05 2020 Honggang Li <honli@redhat.com> - 4.4-7
e1b437
- Rebase to upstream release perftest-4.4-0.32
e1b437
- Resolves: bz1888570
e1b437
3de811
* Fri Jul 24 2020 Honggang Li <honli@redhat.com> - 4.4-3
3de811
- Fix segment fault with large QP numbers
3de811
- Resolves: rhbz#1859358
3de811
3de811
* Mon May 25 2020 Honggang Li <honli@redhat.com> - 4.4-2
3de811
- Update to upstream 4.4-0.29.g817ec38 tarball
3de811
- Resolves: rhbz#1832709
3de811
3de811
* Wed Apr 15 2020 Honggang Li <honli@redhat.com> - 4.4-1
3de811
- Update to upstream 4.4-0.23.g89e176a tarball
3de811
- Resolves: rhbz#1817830
3de811
e47a9c
* Mon Jul 23 2018 Jarod Wilson <jarod@redhat.com> - 4.2-2
e47a9c
- Update to upstream 4.2-0.8.g0e24e67 tarball
e47a9c
e47a9c
* Mon Apr 30 2018 Jarod Wilson <jarod@redhat.com> - 4.2-1
e47a9c
- Update to upstream 4.2-0.5.gdd28746 tarball
e47a9c
e47a9c
* Mon Apr 03 2017 Jarod Wilson <jarod@redhat.com> - 3.4-1
e47a9c
- Update to upstream 3.4-0.9.g98a9a17 tarball
e47a9c
- Resolves: rhbz#1437978
e47a9c
e47a9c
* Thu Aug 18 2016 Jarod Wilson <jarod@redhat.com> - 3.0-7
e47a9c
- Address a myriad more coverity/clang warnings
e47a9c
- Add raw_ethernet_* man page symlinks
e47a9c
- Related: rhbz#1273176
e47a9c
- Related: rhbz#948476
e47a9c
e47a9c
* Mon Aug 15 2016 Jarod Wilson <jarod@redhat.com> - 3.0-6
e47a9c
- Update to upstream 3.0-3.1.gb36a595 tarball for upstream fixes
e47a9c
- Add in manpages
e47a9c
- Related: rhbz#1365750
e47a9c
- Resolves: rhbz#948476
e47a9c
e47a9c
* Fri Aug 12 2016 Jarod Wilson <jarod@redhat.com> - 3.0-5
e47a9c
- Make it possible to actually test with XRC connections again
e47a9c
- Resolves: rhbz#1365750
e47a9c
e47a9c
* Mon Aug 08 2016 Jarod Wilson <jarod@redhat.com> - 3.0-4
e47a9c
- Install raw_ethernet{lat,bw} tools
e47a9c
- Resolves: rhbz#1365182
e47a9c
e47a9c
* Wed May 18 2016 Jarod Wilson <jarod@redhat.com> - 3.0-3
e47a9c
- Fix additional memory leaks reported and spotted after last fix
e47a9c
e47a9c
* Wed May 18 2016 Jarod Wilson <jarod@redhat.com> - 3.0-2
e47a9c
- Fix issues uncovered by coverity
e47a9c
e47a9c
* Wed May 04 2016 Jarod Wilson <jarod@redhat.com> - 3.0-1
e47a9c
- Update to upstream release v3.0
e47a9c
- Resolves: bz1309586, bz1273176
e47a9c
e47a9c
* Tue Jun 16 2015 Michal Schmidt <mschmidt@redhat.com> - 2.4-1
e47a9c
- Update to latest upstream release
e47a9c
- Enable s390x platform
e47a9c
- Resolves: bz1182177
e47a9c
e47a9c
* Fri Oct 17 2014 Doug Ledford <dledford@redhat.com> - 2.3-1
e47a9c
- Update to latest upstream release
e47a9c
- Resolves: bz1061582
e47a9c
e47a9c
* Tue May 20 2014 Kyle McMartin <kmcmarti@redhat.com> - 2.0-4
e47a9c
- aarch64: add get_cycles implementation since <asm/timex.h> is no longer
e47a9c
  exported by the kernel.
e47a9c
- Resolves: #1100043
e47a9c
e47a9c
* Thu Jan 23 2014 Doug Ledford <dledford@redhat.com> - 2.0-3
e47a9c
- Fix for rpmdiff found issues
e47a9c
- Related: bz1017321
e47a9c
e47a9c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0-2
e47a9c
- Mass rebuild 2013-12-27
e47a9c
e47a9c
* Wed Jul 17 2013 Doug Ledford <dledford@redhat.com> - 2.0-1
e47a9c
- Update to latest upstream version
e47a9c
e47a9c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
e47a9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e47a9c
e47a9c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
e47a9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e47a9c
e47a9c
* Fri Jan 06 2012 Doug Ledford <dledford@redhat.com> - 1.3.0-2
e47a9c
- Update to latest upstream release
e47a9c
- Initial import into Fedora
e47a9c
- Remove runme from docs section (review item)
e47a9c
- Improve description of package (review item)
e47a9c
e47a9c
* Fri Jul 22 2011 Doug Ledford <dledford@redhat.com> - 1.3.0-1
e47a9c
- Update to latest upstream release (1.2.3 -> 1.3.0)
e47a9c
- Strip rocee related code out of upstream update
e47a9c
- Add a buildrequires on libibumad because upstream needs it now
e47a9c
- Fix lack of build on i686
e47a9c
- Related: bz725016
e47a9c
- Resolves: bz724896
e47a9c
e47a9c
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.2.3-3.el6
e47a9c
- More minor pkgwrangler cleanups
e47a9c
- Related: bz543948
e47a9c
e47a9c
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.2.3-2.el6
e47a9c
- Fixes for pkgwrangler review
e47a9c
- Related: bz543948
e47a9c
e47a9c
* Tue Dec 22 2009 Doug Ledford <dledford@redhat.com> - 1.2.3-1.el5
e47a9c
- Update to latest upstream version
e47a9c
- Related: bz518218
e47a9c
e47a9c
* Mon Jun 22 2009 Doug Ledford <dledford@redhat.com> - 1.2-14.el5
e47a9c
- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro
e47a9c
- Related: bz506258
e47a9c
e47a9c
* Sun Jun 21 2009 Doug Ledford <dledford@redhat.com> - 1.2-13.el5
e47a9c
- Update to ofed 1.4.1 final bits
e47a9c
- Rebuild against non-XRC libibverbs
e47a9c
- Related: bz506097, bz506258
e47a9c
e47a9c
* Sat Apr 18 2009 Doug Ledford <dledford@redhat.com> - 1.2-12.el5
e47a9c
- Update to ofed 1.4.1-rc3 version
e47a9c
- Remove dead patch
e47a9c
- Related: bz459652
e47a9c
e47a9c
* Wed Sep 17 2008 Doug Ledford <dledford@redhat.com> - 1.2-11
e47a9c
- Upstream has updated the tarball without updating the version, so we
e47a9c
  grabbed the one from the OFED-1.3.2-20080728.0355 tarball
e47a9c
- Resolves: bz451481
e47a9c
e47a9c
* Wed Apr 09 2008 Doug Ledford <dledford@redhat.com> - 1.2-10
e47a9c
- Fix the fact that the itc clock on ia64 may be a multiple of the cpu clock
e47a9c
- Resolves: bz433659
e47a9c
e47a9c
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 1.2-9
e47a9c
- Update to OFED 1.3 final bits
e47a9c
- Related: bz428197
e47a9c
e47a9c
* Sun Jan 27 2008 Doug Ledford <dledford@redhat.com> - 1.2-8
e47a9c
- Split out to separate package (used to be part of openib package)
e47a9c
- Related: bz428197
e47a9c