import perftest-4.4-2.el8

This commit is contained in:
CentOS Sources 2020-07-28 06:16:23 -04:00 committed by Stepan Oksanichenko
parent db72e4a7e2
commit 2fe341359a
4 changed files with 14 additions and 25 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/perftest-4.2-0.8.g0e24e67.tar.gz
SOURCES/perftest-4.4-0.29.g817ec38.tar.gz

View File

@ -1 +1 @@
398cb7cff2dfcf1d1e67a44c9bd4b98df9983e30 SOURCES/perftest-4.2-0.8.g0e24e67.tar.gz
26e318b80b7e2464a139a056332f2400864d4f61 SOURCES/perftest-4.4-0.29.g817ec38.tar.gz

View File

@ -1,13 +0,0 @@
Index: perftest-4.2/configure.ac
===================================================================
--- perftest-4.2.orig/configure.ac
+++ perftest-4.2/configure.ac
@@ -310,7 +310,7 @@ if [test $HAVE_EXP_OOO_ATTR = yes]; then
AC_DEFINE([HAVE_EXP_OOO_ATTR], [1], [Have Experimental Out of order data placement support])
fi
-CFLAGS="-g -Wall -D_GNU_SOURCE -O3 $CFLAGS"
+CFLAGS+=" -g -Wall -D_GNU_SOURCE -O3 $CFLAGS"
LIBS=$LIBS" -lpthread"
AC_SUBST([LIBUMAD])
AC_SUBST([LIBMATH])

View File

@ -1,16 +1,13 @@
Name: perftest
Summary: IB Performance Tests
Version: 4.2
%define minor_release 0.8
%define git_hash g0e24e67
Release: 2%{?dist}
Version: 4.4
%define minor_release 0.29
%define git_hash g817ec38
Release: 2%{?dist}
License: GPLv2 or BSD
Group: Productivity/Networking/Diagnostic
Source0: https://github.com/linux-rdma/perftest/releases/download/V%{version}-%{minor_release}/perftest-%{version}-%{minor_release}.%{git_hash}.tar.gz
Source1: ib_atomic_bw.1
Patch1: perftest-4.2-cflags.patch
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
BuildRequires: autoconf, automake, libtool
@ -24,7 +21,6 @@ RDMA networks.
%prep
%setup -q
%patch1 -p1
autoreconf --force --install
%build
@ -32,7 +28,6 @@ autoreconf --force --install
make V=1 %{?_smp_mflags}
%install
rm -rf %{buildroot}
for file in ib_{atomic,read,send,write}_{lat,bw}; do
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
done
@ -48,12 +43,19 @@ done
popd
%files
%defattr(-, root, root)
%doc README COPYING
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Mon May 25 2020 Honggang Li <honli@redhat.com> - 4.4-2
- Update to upstream 4.4-0.29.g817ec38 tarball
- Resolves: rhbz#1832709
* Wed Apr 15 2020 Honggang Li <honli@redhat.com> - 4.4-1
- Update to upstream 4.4-0.23.g89e176a tarball
- Resolves: rhbz#1817830
* Mon Jul 23 2018 Jarod Wilson <jarod@redhat.com> - 4.2-2
- Update to upstream 4.2-0.8.g0e24e67 tarball