Accepting request 1203005 from network
- Enable (disabled by default) installation of headers needed to build drivers. - Use python macros from build config * preamble * 0001-fix-cpu-compatibility.patch 0002-SLE15-SP3-compatibility-patch-for-kni.patch manually (bsc#1200620) - rename - Add patch to resolve build error reported in Staging:E project * https://doc.dpdk.org/guides/rel_notes/release_19_11.html#new-features - Changed to multibuild (bsc#1151455). [-0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch -0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch -0004-net-thunderx-sync-mailbox-definitions-with-Linux-PF-.patch -0005-kni-fix-build-with-gcc-7.1.patch -0006-kni-fix-ethtool-build-with-kernel-4.11.patch more details can be found in - Remove CONFIG_RTE_LIBRTE_MBUF_OFFLOAD as cryptodev is not depending - Added support for aarch64 compilation. - Disabled aarch64 dpdk-examples package for the time being as it - Removed unwanted files(bsc#984437). - Applied all the fixes recommended by upstream for - DPDK is most common vhost-user backend, Adding upstream patches to - Added CONFIG_RTE_BUILD_COMBINE_LIBS flags to club all all *.so into - Intial version 2.2.0(fate#319169) OBS-URL: https://build.opensuse.org/request/show/1203005 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dpdk?expand=0&rev=67
This commit is contained in:
11
dpdk.changes
11
dpdk.changes
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 14 12:34:14 UTC 2024 - Dan Partelly <d.partelly@yahoo.com>
|
||||
|
||||
- Enable (disabled by default) installation of headers needed
|
||||
to build drivers.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 05:08:15 UTC 2024 - Duraisankar P <Duraisankar.pitchumani@suse.com>
|
||||
|
||||
- Use python macros from build config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 11:40:32 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
18
dpdk.spec
18
dpdk.spec
@@ -39,11 +39,18 @@
|
||||
%define min 0
|
||||
#%%define lname libdpdk-%%{maj}_%%{min}
|
||||
%define lname libdpdk-%{maj}
|
||||
#
|
||||
%if 0%{?sle_version} >= 150600
|
||||
%global pprefix python311
|
||||
%{?sle15_python_module_pythons}
|
||||
%else
|
||||
%global pythons python3
|
||||
%global pprefix python3
|
||||
%endif
|
||||
# Add option to build without examples
|
||||
%bcond_without examples
|
||||
# Add option to build without tools
|
||||
%bcond_without tools
|
||||
#
|
||||
Name: dpdk%{name_tag}
|
||||
Version: 23.11.1
|
||||
Release: 0
|
||||
@@ -56,6 +63,9 @@ Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||
Patch0: 0001-fix-cpu-compatibility.patch
|
||||
# PATCH-FIX-UPSTREAM - https://bugs.dpdk.org/show_bug.cgi?id=1530
|
||||
Patch1: 0001-examples-vm_power_manager-add-missing-header.patch
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module pyelftools >= 0.22}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: binutils
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
@@ -66,9 +76,6 @@ BuildRequires: modutils
|
||||
BuildRequires: patchelf
|
||||
BuildRequires: pesign-obs-integration
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-pyelftools >= 0.22
|
||||
BuildRequires: rdma-core-devel
|
||||
BuildRequires: pkgconfig(jansson)
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
@@ -165,7 +172,7 @@ as L2 and L3 forwarding.
|
||||
|
||||
%prep
|
||||
# can't use %%{name} because of dpdk-thunderx
|
||||
%setup -n dpdk-stable-%{version}
|
||||
%setup -q -n dpdk-stable-%{version}
|
||||
%if 0%{?suse_version} > 1600
|
||||
%autopatch -p1
|
||||
%else
|
||||
@@ -197,6 +204,7 @@ for flavor in %{flavors_to_build}; do
|
||||
-Dplatform="%{platform}" \
|
||||
-Dcpu_instruction_set=%{machine} \
|
||||
-Denable_kmods=true \
|
||||
-Denable_driver_sdk=true \
|
||||
-Ddrivers_install_subdir=%{pmddir} \
|
||||
-Dkernel_dir="%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor"
|
||||
%meson_build
|
||||
|
Reference in New Issue
Block a user