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
|
||||
/perftest-2.*.tar.gz
|
||||
/perftest-2.*/
|
||||
/perftest-3.0-0.18.gb464d59.tar.gz
|
||||
|
@ -1,16 +1,17 @@
|
||||
Name: perftest
|
||||
Summary: IB Performance Tests
|
||||
Version: 2.2
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.17.g5eba807.tar.gz
|
||||
Url: http://www.openfabrics.org
|
||||
Name: perftest
|
||||
Summary: IB Performance Tests
|
||||
Version: 3.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.18.gb464d59.tar.gz
|
||||
Url: http://www.openfabrics.org
|
||||
|
||||
BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14
|
||||
BuildRequires: libibumad-devel > 1.3.6
|
||||
Obsoletes: openib-perftest < 1.3
|
||||
ExcludeArch: s390 s390x %{arm}
|
||||
BuildRequires: libibverbs-devel >= 1.2.0
|
||||
BuildRequires: librdmacm-devel >= 1.0.21
|
||||
BuildRequires: libibumad-devel >= 1.3.10.2
|
||||
Obsoletes: openib-perftest < 1.3
|
||||
ExcludeArch: s390 s390x %{arm}
|
||||
|
||||
%description
|
||||
Perftest is a collection of simple test programs designed to utilize
|
||||
@ -20,22 +21,26 @@ RDMA networks.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} CFLAGS+="-fPIC -g -Wall -D_GNU_SOURCE -O3"
|
||||
|
||||
%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
|
||||
done
|
||||
|
||||
%files
|
||||
%doc README COPYING
|
||||
%doc README
|
||||
%license COPYING
|
||||
%_bindir/*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user