SHA256
1
0
forked from pool/dpdk

Accepting request 457472 from home:ndas:branches:network

- Build dpdk-thunderx only for aarch64
- Build dpdk-thunderx only for aarch64

OBS-URL: https://build.opensuse.org/request/show/457472
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=31
This commit is contained in:
Markos Chandras 2017-02-15 16:11:14 +00:00 committed by Git OBS Bridge
parent 8086eb4bdc
commit 7c93a673ab
5 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@ Fri Feb 10 11:24:27 CET 2017 - ndas@suse.de
- Enable rte_kni kernel module for dpdk(fate#322394).
[+preamble]
- Build dpdk-thunderx only for aarch64
-------------------------------------------------------------------
Thu Feb 2 15:21:14 CET 2017 - ndas@suse.de

View File

@ -64,7 +64,7 @@ BuildRequires: libnuma-devel
BuildRequires: libpcap-devel
BuildRequires: pesign-obs-integration
BuildRequires: zlib-devel
ExclusiveArch: aarch64 x86_64 %ix86 ppc64le
ExclusiveArch: aarch64
Provides: dpdk-any = %{version}
Conflicts: otherproviders(dpdk-any)
@ -126,6 +126,7 @@ as L2 and L3 forwarding.
Summary: DPDK KNI kernel module (thunderx)
Group: System/Kernel
BuildRequires: %{kernel_module_package_buildreqs}
Conflicts: otherproviders(dpdk-any-kmp)
%suse_kernel_module_package -p %{_sourcedir}/preamble pae 64kb
%description kmp

View File

@ -3,6 +3,7 @@ Fri Feb 10 11:24:27 CET 2017 - ndas@suse.de
- Enable rte_kni kernel module for dpdk(fate#322394).
[+preamble]
- Build dpdk-thunderx only for aarch64
-------------------------------------------------------------------
Thu Feb 2 15:21:14 CET 2017 - ndas@suse.de

View File

@ -124,6 +124,7 @@ as L2 and L3 forwarding.
Summary: DPDK KNI kernel module
Group: System/Kernel
BuildRequires: %{kernel_module_package_buildreqs}
Conflicts: otherproviders(dpdk-any-kmp)
%suse_kernel_module_package -p %{_sourcedir}/preamble pae 64kb
%description kmp

View File

@ -16,4 +16,5 @@ sed -i -e "/^Name:.*dpdk$/i \
-e "/^Name:/s/dpdk/&-thunderx/g" \
-e "/^Summary:/s/^.*$/&\ \(thunderx\)/g" \
-e "/^%define machine2 armv8a/s/armv8a/thunderx/g" \
-e "/ExclusiveArch/c\ExclusiveArch: aarch64" \
dpdk-thunderx.spec || exit 1