Rebase to upstream release perftest-4.4-0.11
Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
parent
f8022c93f2
commit
5e84cf58b4
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ noarch/
|
|||||||
/perftest-3.0-0.18.gb464d59.tar.gz
|
/perftest-3.0-0.18.gb464d59.tar.gz
|
||||||
/perftest-4.2-0.5.gdd28746.tar.gz
|
/perftest-4.2-0.5.gdd28746.tar.gz
|
||||||
/perftest-4.2-0.8.g0e24e67.tar.gz
|
/perftest-4.2-0.8.g0e24e67.tar.gz
|
||||||
|
/perftest-4.4-0.11.gd240b65.tar.gz
|
||||||
|
26
0010-Fix-multiple-definition-of-duration_param.patch
Normal file
26
0010-Fix-multiple-definition-of-duration_param.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 144ff72482dba53dd290e0743c6a557c9eae99df Mon Sep 17 00:00:00 2001
|
||||||
|
From: Honggang Li <honli@redhat.com>
|
||||||
|
Date: Mon, 10 Feb 2020 02:18:42 -0500
|
||||||
|
Subject: [PATCH 10/11] Fix multiple definition of duration_param
|
||||||
|
|
||||||
|
Signed-off-by: Honggang Li <honli@redhat.com>
|
||||||
|
---
|
||||||
|
src/raw_ethernet_resources.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/raw_ethernet_resources.c b/src/raw_ethernet_resources.c
|
||||||
|
index 9e3a455..a5f8057 100755
|
||||||
|
--- a/src/raw_ethernet_resources.c
|
||||||
|
+++ b/src/raw_ethernet_resources.c
|
||||||
|
@@ -55,7 +55,7 @@
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-struct perftest_parameters* duration_param;
|
||||||
|
+extern struct perftest_parameters* duration_param;
|
||||||
|
|
||||||
|
int check_flow_steering_support(char *dev_name)
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.25.0
|
||||||
|
|
26
0011-Replace-_BSD_SOURCE-with-_DEFAULT_SOURCE.patch
Normal file
26
0011-Replace-_BSD_SOURCE-with-_DEFAULT_SOURCE.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 32a97e3718a94d57dd7ccc343f94d7ac5ef6d1c4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Honggang Li <honli@redhat.com>
|
||||||
|
Date: Mon, 10 Feb 2020 02:19:16 -0500
|
||||||
|
Subject: [PATCH 11/11] Replace '_BSD_SOURCE' with '_DEFAULT_SOURCE'
|
||||||
|
|
||||||
|
Signed-off-by: Honggang Li <honli@redhat.com>
|
||||||
|
---
|
||||||
|
src/get_clock.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/get_clock.c b/src/get_clock.c
|
||||||
|
index 91aaf72..acdc6f1 100755
|
||||||
|
--- a/src/get_clock.c
|
||||||
|
+++ b/src/get_clock.c
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
/* #define GET_CPU_MHZ_FROM_PROC 1 */
|
||||||
|
|
||||||
|
/* For gettimeofday */
|
||||||
|
-#define _BSD_SOURCE
|
||||||
|
+#define _DEFAULT_SOURCE
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
--
|
||||||
|
2.25.0
|
||||||
|
|
@ -1,9 +1,11 @@
|
|||||||
Name: perftest
|
Name: perftest
|
||||||
Summary: IB Performance Tests
|
Summary: IB Performance Tests
|
||||||
Version: 4.2
|
Version: 4.4
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2 or BSD
|
License: GPLv2 or BSD
|
||||||
Source: https://github.com/linux-rdma/%{name}/releases/download/V4.2-0.8/perftest-4.2-0.8.g0e24e67.tar.gz
|
Source: https://github.com/linux-rdma/perftest/releases/download/v4.4-0.11/perftest-4.4-0.11.gd240b65.tar.gz
|
||||||
|
Patch0010: 0010-Fix-multiple-definition-of-duration_param.patch
|
||||||
|
Patch0011: 0011-Replace-_BSD_SOURCE-with-_DEFAULT_SOURCE.patch
|
||||||
Url: https://github.com/linux-rdma/perftest
|
Url: https://github.com/linux-rdma/perftest
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -21,6 +23,7 @@ RDMA networks.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%autosetup -v -p1
|
||||||
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -38,6 +41,9 @@ done
|
|||||||
%_bindir/*
|
%_bindir/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 10 2020 Honggang Li <honli@redhat.com> - 4.4-1
|
||||||
|
- Rebase to upstream release perftest-4.4-0.11
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-6
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (perftest-4.2-0.8.g0e24e67.tar.gz) = 4f1bc30ebad6d4c4424d892a67a3809b391911ee4e8b2ded1b38b3390e622128aa04f67871e33debed6c4c3811d67f7a2833833cb621a240b22ccccdf4f11c43
|
SHA512 (perftest-4.4-0.11.gd240b65.tar.gz) = 66ece240745e819f3f52123dc9e97d5a0e52f17634cf12cc14e6aea89c2a674ad7b92702593a5ede76a5aa32be44a9e00954418f15bb3d07d1f8036a41693951
|
||||||
|
Loading…
Reference in New Issue
Block a user