[packages/dpdk] - up to 21.11.2 LTS
baggins
baggins at pld-linux.org
Sun Sep 4 14:08:18 CEST 2022
commit 25cd401f0e138461007f8c8440519500f6e1cd05
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Sep 4 14:08:01 2022 +0200
- up to 21.11.2 LTS
dpdk-opt.patch | 8 ++++----
dpdk.spec | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/dpdk.spec b/dpdk.spec
index 1ba17af..7356c65 100644
--- a/dpdk.spec
+++ b/dpdk.spec
@@ -22,12 +22,12 @@
Summary: Data Plane Development Kit libraries
Summary(pl.UTF-8): Biblioteki Data Plane Development Kit
Name: dpdk
-Version: 20.02.1
+Version: 21.11.2
Release: 1
License: BSD (libraries and drivers), GPL v2 (kernel components)
Group: Libraries
Source0: https://fast.dpdk.org/rel/%{name}-%{version}.tar.xz
-# Source0-md5: fd04cb05c728f474b438c6e7aa1eb195
+# Source0-md5: 86f9c3b9034545172a9f3f2a8cf0f71b
Patch0: %{name}-opt.patch
URL: https://www.dpdk.org/
# pkgconfig(libelf)
diff --git a/dpdk-opt.patch b/dpdk-opt.patch
index 54f34ff..40195d0 100644
--- a/dpdk-opt.patch
+++ b/dpdk-opt.patch
@@ -1,15 +1,15 @@
--- dpdk-stable-20.02.1/config/meson.build.orig 2020-05-18 12:23:06.000000000 +0200
+++ dpdk-stable-20.02.1/config/meson.build 2020-05-24 16:19:42.561967025 +0200
@@ -94,14 +94,6 @@
- dpdk_conf.set('RTE_MACHINE', machine)
+ dpdk_conf.set('RTE_MACHINE', cpu_instruction_set)
machine_args = []
-# ppc64 does not support -march= at all, use -mcpu and -mtune for that
-if host_machine.cpu_family().startswith('ppc')
-- machine_args += '-mcpu=' + machine
-- machine_args += '-mtune=' + machine
+- machine_args += '-mcpu=' + cpu_instruction_set
+- machine_args += '-mtune=' + cpu_instruction_set
-else
-- machine_args += '-march=' + machine
+- machine_args += '-march=' + cpu_instruction_set
-endif
-
toolchain = cc.get_id()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dpdk.git/commitdiff/25cd401f0e138461007f8c8440519500f6e1cd05
More information about the pld-cvs-commit
mailing list