From b616eecee0c7915c508e16a8caf9bd0bb4bdef55 Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Wed, 11 Jan 2012 13:05:10 -0500 Subject: [PATCH] Initial import into git Signed-off-by: Doug Ledford --- .gitignore | 14 +++++++ perftest.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 122 insertions(+) create mode 100644 perftest.spec diff --git a/.gitignore b/.gitignore index e69de29..1866a46 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,14 @@ +i386/ +i686/ +x86_64/ +ppc/ +ppc64/ +ia64/ +mips/ +arm*/ +noarch/ +.project +*.src.rpm +.build*.log +/perftest-1.3.0/ +/perftest-1.3.0-0.58.g8f82435.tar.gz diff --git a/perftest.spec b/perftest.spec new file mode 100644 index 0000000..e89e9a1 --- /dev/null +++ b/perftest.spec @@ -0,0 +1,107 @@ +Name: perftest +Summary: IB Performance Tests +Version: 1.3.0 +Release: 2%{?dist} +License: GPLv2 or BSD +Group: Productivity/Networking/Diagnostic +Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.58.g8f82435.tar.gz +Url: http://www.openfabrics.org +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14 +BuildRequires: libibumad-devel > 1.3.6 +Obsoletes: openib-perftest < 1.3 +ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 + +%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 + +%build +export CFLAGS="$RPM_OPT_FLAGS" +make +chmod -x runme + +%install +rm -rf %{buildroot} +install -D -m 0755 rdma_lat %{buildroot}%{_bindir}/rdma_lat +install -D -m 0755 rdma_bw %{buildroot}%{_bindir}/rdma_bw +install -D -m 0755 ib_write_lat %{buildroot}%{_bindir}/ib_write_lat +install -D -m 0755 ib_write_bw %{buildroot}%{_bindir}/ib_write_bw +install -D -m 0755 ib_send_lat %{buildroot}%{_bindir}/ib_send_lat +install -D -m 0755 ib_send_bw %{buildroot}%{_bindir}/ib_send_bw +install -D -m 0755 ib_read_lat %{buildroot}%{_bindir}/ib_read_lat +install -D -m 0755 ib_read_bw %{buildroot}%{_bindir}/ib_read_bw +install -D -m 0755 ib_write_bw_postlist %{buildroot}%{_bindir}/ib_write_bw_postlist +install -D -m 0755 ib_clock_test %{buildroot}%{_bindir}/ib_clock_test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%doc README COPYING +%_bindir/* + +%changelog +* Fri Jan 06 2012 Doug Ledford - 1.3.0-2 +- Update to latest upstream release +- Initial import into Fedora +- Remove runme from docs section (review item) +- Improve description of package (review item) + +* Fri Jul 22 2011 Doug Ledford - 1.3.0-1 +- Update to latest upstream release (1.2.3 -> 1.3.0) +- Strip rocee related code out of upstream update +- Add a buildrequires on libibumad because upstream needs it now +- Fix lack of build on i686 +- Related: bz725016 +- Resolves: bz724896 + +* Mon Jan 25 2010 Doug Ledford - 1.2.3-3.el6 +- More minor pkgwrangler cleanups +- Related: bz543948 + +* Mon Jan 25 2010 Doug Ledford - 1.2.3-2.el6 +- Fixes for pkgwrangler review +- Related: bz543948 + +* Tue Dec 22 2009 Doug Ledford - 1.2.3-1.el5 +- Update to latest upstream version +- Related: bz518218 + +* Mon Jun 22 2009 Doug Ledford - 1.2-14.el5 +- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro +- Related: bz506258 + +* Sun Jun 21 2009 Doug Ledford - 1.2-13.el5 +- Update to ofed 1.4.1 final bits +- Rebuild against non-XRC libibverbs +- Related: bz506097, bz506258 + +* Sat Apr 18 2009 Doug Ledford - 1.2-12.el5 +- Update to ofed 1.4.1-rc3 version +- Remove dead patch +- Related: bz459652 + +* Wed Sep 17 2008 Doug Ledford - 1.2-11 +- Upstream has updated the tarball without updating the version, so we + grabbed the one from the OFED-1.3.2-20080728.0355 tarball +- Resolves: bz451481 + +* Wed Apr 09 2008 Doug Ledford - 1.2-10 +- Fix the fact that the itc clock on ia64 may be a multiple of the cpu clock +- Resolves: bz433659 + +* Tue Apr 01 2008 Doug Ledford - 1.2-9 +- Update to OFED 1.3 final bits +- Related: bz428197 + +* Sun Jan 27 2008 Doug Ledford - 1.2-8 +- Split out to separate package (used to be part of openib package) +- Related: bz428197 + diff --git a/sources b/sources index e69de29..c6540ec 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5ac59f07e39ffe9726ceb10c3e32ba8e perftest-1.3.0-0.58.g8f82435.tar.gz