Rebase to latest upstream perftest-3.0-0.18.gb464d59
Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
parent
e9ce7e0364
commit
4573260457
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ noarch/
|
|||||||
.build*.log
|
.build*.log
|
||||||
/perftest-2.*.tar.gz
|
/perftest-2.*.tar.gz
|
||||||
/perftest-2.*/
|
/perftest-2.*/
|
||||||
|
/perftest-3.0-0.18.gb464d59.tar.gz
|
||||||
|
@ -1,16 +1,17 @@
|
|||||||
Name: perftest
|
Name: perftest
|
||||||
Summary: IB Performance Tests
|
Summary: IB Performance Tests
|
||||||
Version: 2.2
|
Version: 3.0
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2 or BSD
|
License: GPLv2 or BSD
|
||||||
Group: Productivity/Networking/Diagnostic
|
Group: Productivity/Networking/Diagnostic
|
||||||
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.17.g5eba807.tar.gz
|
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.18.gb464d59.tar.gz
|
||||||
Url: http://www.openfabrics.org
|
Url: http://www.openfabrics.org
|
||||||
|
|
||||||
BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14
|
BuildRequires: libibverbs-devel >= 1.2.0
|
||||||
BuildRequires: libibumad-devel > 1.3.6
|
BuildRequires: librdmacm-devel >= 1.0.21
|
||||||
Obsoletes: openib-perftest < 1.3
|
BuildRequires: libibumad-devel >= 1.3.10.2
|
||||||
ExcludeArch: s390 s390x %{arm}
|
Obsoletes: openib-perftest < 1.3
|
||||||
|
ExcludeArch: s390 s390x %{arm}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Perftest is a collection of simple test programs designed to utilize
|
Perftest is a collection of simple test programs designed to utilize
|
||||||
@ -20,22 +21,26 @@ RDMA networks.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} CFLAGS+="-fPIC -g -Wall -D_GNU_SOURCE -O3"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
for file in ib_{atomic,read,send,write}_{lat,bw}; do
|
for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
|
||||||
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
|
install -D -m 0755 $file %{buildroot}%{_bindir}/$file
|
||||||
done
|
done
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README COPYING
|
%doc README
|
||||||
|
%license COPYING
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 29 2016 Honggang Li <honli@redhat.com> - 3.0-1
|
||||||
|
- Update to latest upstream
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user