From dda37b472658bb0bdc5eabde43ad96e867cd9e3f00a9f9fc9cfe16c0977d6b3b Mon Sep 17 00:00:00 2001 From: Nirmoy Das Date: Fri, 15 Mar 2019 14:51:18 +0000 Subject: [PATCH] Accepting request 685395 from home:ndas:branches:network - disable i586 build because lack of sse support - disable i586 build because lack of sse support OBS-URL: https://build.opensuse.org/request/show/685395 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=99 --- dpdk-thunderx.changes | 3 +-- dpdk-thunderx.spec | 12 ------------ dpdk.changes | 3 +-- dpdk.spec | 14 +------------- 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/dpdk-thunderx.changes b/dpdk-thunderx.changes index eca95f7..235762c 100644 --- a/dpdk-thunderx.changes +++ b/dpdk-thunderx.changes @@ -2,8 +2,7 @@ Fri Mar 8 11:50:03 CET 2019 - ndas@suse.de - remove -Wno-error=array-bounds as its no longer needed -- Add -U_FORTIFY_SOURCE to fix gcc8 error: - "error: inlining failed in call to always_inline 'memcpy': target specific option mismatch" +- disable i586 build because lack of sse support ------------------------------------------------------------------- Fri Feb 22 10:57:13 CET 2019 - ndas@suse.de diff --git a/dpdk-thunderx.spec b/dpdk-thunderx.spec index 5a29014..110b947 100644 --- a/dpdk-thunderx.spec +++ b/dpdk-thunderx.spec @@ -23,10 +23,6 @@ %define machine native %define target x86_64-%{machine}-linuxapp-gcc %endif -%ifarch %{ix86} -%define machine native -%define target i686-%{machine}-linuxapp-gcc -%endif %ifarch aarch64 %define machine2 thunderx %define target arm64-%{machine2}-linuxapp-gcc @@ -136,7 +132,6 @@ Example applications utilizing the Data Plane Development Kit, such as L2 and L3 forwarding. %endif -%ifnarch %{ix86} %package kmp Summary: DPDK KNI kernel module (thunderx) Group: System/Kernel @@ -146,7 +141,6 @@ Conflicts: otherproviders(dpdk-any-kmp) %description kmp The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the Linux* control plane. -%endif %define sdkdir %{_datadir}/dpdk %define docdir %{_docdir}/dpdk @@ -228,21 +222,17 @@ export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE" make V=1 O=%{target} T=%{target} %{?_smp_mflags} config setdefaultconf %{target} -%ifnarch %{ix86} export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' for flavor in %{flavors_to_build}; do export RTE_KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor make V=1 O=%{target}-$flavor T=%{target} %{?_smp_mflags} config setdefaultconf %{target}-$flavor - %ifnarch %{ix86} setconf CONFIG_RTE_EAL_IGB_UIO y %{target}-$flavor setconf CONFIG_RTE_KNI_KMOD y %{target}-$flavor - %endif cd %{target}-$flavor make V=1 %{?_smp_mflags} cd - done -%endif make V=1 O=%{target} %{?_smp_mflags} make V=1 O=%{target} %{?_smp_mflags} doc-api-html @@ -252,7 +242,6 @@ make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples %endif %install -%ifnarch %{ix86} # export needed for kmp package export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' export INSTALL_MOD_PATH=%{buildroot} @@ -269,7 +258,6 @@ for flavor in %{flavors_to_build}; do install -m644 ../%{target}-$flavor/kmod/*.ko %{buildroot}/lib/modules/$krel/extra/dpdk/ cd - done -%endif # In case dpdk-devel is installed unset RTE_SDK RTE_INCLUDE RTE_TARGET diff --git a/dpdk.changes b/dpdk.changes index eca95f7..235762c 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -2,8 +2,7 @@ Fri Mar 8 11:50:03 CET 2019 - ndas@suse.de - remove -Wno-error=array-bounds as its no longer needed -- Add -U_FORTIFY_SOURCE to fix gcc8 error: - "error: inlining failed in call to always_inline 'memcpy': target specific option mismatch" +- disable i586 build because lack of sse support ------------------------------------------------------------------- Fri Feb 22 10:57:13 CET 2019 - ndas@suse.de diff --git a/dpdk.spec b/dpdk.spec index ce69580..ac750ff 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -23,10 +23,6 @@ %define machine native %define target x86_64-%{machine}-linuxapp-gcc %endif -%ifarch %{ix86} -%define machine native -%define target i686-%{machine}-linuxapp-gcc -%endif %ifarch aarch64 %define machine2 armv8a %define target arm64-%{machine2}-linuxapp-gcc @@ -67,7 +63,7 @@ BuildRequires: pesign-obs-integration BuildRequires: rdma-core-devel %endif BuildRequires: zlib-devel -ExclusiveArch: aarch64 x86_64 %ix86 ppc64le +ExclusiveArch: aarch64 x86_64 ppc64le Provides: dpdk-any = %{version} Conflicts: otherproviders(dpdk-any) @@ -134,7 +130,6 @@ Example applications utilizing the Data Plane Development Kit, such as L2 and L3 forwarding. %endif -%ifnarch %{ix86} %package kmp Summary: DPDK KNI kernel module Group: System/Kernel @@ -144,7 +139,6 @@ Conflicts: otherproviders(dpdk-any-kmp) %description kmp The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the Linux* control plane. -%endif %define sdkdir %{_datadir}/dpdk %define docdir %{_docdir}/dpdk @@ -226,21 +220,17 @@ export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE" make V=1 O=%{target} T=%{target} %{?_smp_mflags} config setdefaultconf %{target} -%ifnarch %{ix86} export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' for flavor in %{flavors_to_build}; do export RTE_KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor make V=1 O=%{target}-$flavor T=%{target} %{?_smp_mflags} config setdefaultconf %{target}-$flavor - %ifnarch %{ix86} setconf CONFIG_RTE_EAL_IGB_UIO y %{target}-$flavor setconf CONFIG_RTE_KNI_KMOD y %{target}-$flavor - %endif cd %{target}-$flavor make V=1 %{?_smp_mflags} cd - done -%endif make V=1 O=%{target} %{?_smp_mflags} make V=1 O=%{target} %{?_smp_mflags} doc-api-html @@ -250,7 +240,6 @@ make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples %endif %install -%ifnarch %{ix86} # export needed for kmp package export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' export INSTALL_MOD_PATH=%{buildroot} @@ -267,7 +256,6 @@ for flavor in %{flavors_to_build}; do install -m644 ../%{target}-$flavor/kmod/*.ko %{buildroot}/lib/modules/$krel/extra/dpdk/ cd - done -%endif # In case dpdk-devel is installed unset RTE_SDK RTE_INCLUDE RTE_TARGET