[ewg] [PATCH] perftest.spec file

vlad at mellanox.co.il vlad at mellanox.co.il
Thu Jul 19 07:28:50 PDT 2007


Hi Michael,
Please apply this patch on ~mst/perftest.git master

Add perftest.spec file.

Signed-off-by: Vladimir Sokolovsky <vlad at mellanox.co.il>

diff --git a/perftest.spec b/perftest.spec
new file mode 100644
index 0000000..bd234e1
--- /dev/null
+++ b/perftest.spec
@@ -0,0 +1,53 @@
+Name:           perftest
+Summary:        IB Performance tests
+Version:        1.2
+Release:        3.1
+License:        BSD 3-Clause, GPL v2 or later
+Group:          Productivity/Networking/Diagnostic
+Source:         http://www.openfabrics.org/downloads/%{name}-%{version}.tar.gz
+Url:            http://www.openfabrics.org
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libibverbs-devel librdmacm-devel
+
+%description
+gen2 uverbs microbenchmarks
+
+
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+%{__make}
+chmod -x runme
+
+%install
+install -D -m 0755 ib_rdma_lat $RPM_BUILD_ROOT%{_bindir}/ib_rdma_lat
+install -D -m 0755 ib_rdma_bw $RPM_BUILD_ROOT%{_bindir}/ib_rdma_bw
+install -D -m 0755 ib_write_lat $RPM_BUILD_ROOT%{_bindir}/ib_write_lat
+install -D -m 0755 ib_write_bw $RPM_BUILD_ROOT%{_bindir}/ib_write_bw
+install -D -m 0755 ib_send_lat $RPM_BUILD_ROOT%{_bindir}/ib_send_lat
+install -D -m 0755 ib_send_bw $RPM_BUILD_ROOT%{_bindir}/ib_send_bw
+install -D -m 0755 ib_read_lat $RPM_BUILD_ROOT%{_bindir}/ib_read_lat
+install -D -m 0755 ib_read_bw $RPM_BUILD_ROOT%{_bindir}/ib_read_bw
+install -D -m 0755 ib_write_bw_postlist $RPM_BUILD_ROOT%{_bindir}/ib_write_bw_postlist
+install -D -m 0755 ib_clock_test $RPM_BUILD_ROOT%{_bindir}/ib_clock_test
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(-, root, root)
+%doc README COPYING runme
+%_bindir/*
+
+%changelog
+* Mon Jul 09 2007 - hvogel at suse.de
+- Use correct version
+* Wed Jul 04 2007 - hvogel at suse.de
+- Add GPL COPYING file [#289509]
+* Mon Jul 02 2007 - hvogel at suse.de
+- Update to the OFED 1.2 version
+* Fri Jun 22 2007 - hvogel at suse.de
+- Initial Package, Version 1.1

---
Vladimir Sokolovsky
Mellanox Technologies Ltd.



More information about the ewg mailing list