The package rpms/dpdk.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/dpdk.git/commit/?id=e8b0480dbe2df....
Change:
+%ifarch aarch64
Thanks.
Full change:
============
commit e8b0480dbe2df5a98ec98b1dcb8b696d573de6a4
Author: Neil Horman <nhorman(a)tuxdriver.com>
Date: Fri Mar 2 11:43:23 2018 -0500
Resolves: bz 1550708
diff --git a/.gitignore b/.gitignore
index 6315070..24d1710 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/dpdk-17.05.tar.xz
/dpdk-17.08.tar.xz
/dpdk-17.11.tar.xz
+/dpdk-18.02.tar.xz
diff --git a/dpdk-dpaa-build.patch b/dpdk-dpaa-build.patch
new file mode 100644
index 0000000..a8285c0
--- /dev/null
+++ b/dpdk-dpaa-build.patch
@@ -0,0 +1,12 @@
+diff -up ./app/test-pmd/Makefile.arm ./app/test-pmd/Makefile
+--- ./app/test-pmd/Makefile.arm 2018-02-14 13:11:02.000000000 -0500
++++ ./app/test-pmd/Makefile 2018-02-26 12:01:02.999831933 -0500
+@@ -45,7 +45,7 @@ LDLIBS += -lrte_pmd_bond
+ endif
+
+ ifeq ($(CONFIG_RTE_LIBRTE_DPAA_PMD),y)
+-LDLIBS += -lrte_pmd_dpaa
++LDLIBS += -lrte_pmd_dpaa -lrte_bus_dpaa -lrte_mempool_dpaa
+ endif
+
+ ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)
diff --git a/dpdk.spec b/dpdk.spec
index 5c2105a..074fae7 100644
--- a/dpdk.spec
+++ b/dpdk.spec
@@ -8,11 +8,11 @@
%bcond_with pdfdoc
Name: dpdk
-Version: 17.11
-Release: 4%{?dist}
+Version: 18.02
+Release: 2%{?dist}
URL:
http://dpdk.org
Source:
http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.xz
-
+Patch0: dpdk-dpaa-build.patch
Summary: Set of libraries and drivers for fast packet processing
@@ -119,6 +119,7 @@ as L2 and L3 forwarding.
%prep
%setup -q
+%patch0 -p1
%build
# set up a method for modifying the resulting .config file
@@ -136,7 +137,12 @@ unset RTE_SDK RTE_INCLUDE RTE_TARGET
# Avoid appending second -Wall to everything, it breaks upstream warning
# disablers in makefiles. Strip expclit -march= from optflags since they
# will only guarantee build failures, DPDK is picky with that.
-export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e
's:-march=[[:alnum:]]* ::g') -Wformat -fPIC"
+# Note: _hardening_ldflags has to go on the extra cflags line because dpdk is
+# astoundingly convoluted in how it processes its linker flags. Fixing it in
+# dpdk is the preferred solution, but adjusting to allow a gcc option in the
+# ldflags, even when gcc is used as the linker, requires large tree-wide changes
+export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e
's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}"
+export EXTRA_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-Wl,//g'
-e's/-spec.*//')
# DPDK defaults to using builder-specific compiler flags. However,
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
@@ -169,6 +175,12 @@ setconf CONFIG_RTE_APP_EVENTDEV n
setconf CONFIG_RTE_LIBRTE_NFP_PMD y
+%ifarch aarch64
+setconf CONFIG_RTE_LIBRTE_DPAA_BUS y
+setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL y
+setconf CONFIG_RTE_LIBRTE_DPAA_PMD y
+%endif
+
%if %{with shared}
setconf CONFIG_RTE_BUILD_SHARED_LIB y
%endif
@@ -232,6 +244,7 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g'
%{buildroot}/%{_sysconfdir}/profi
%files
# BSD
%{_bindir}/testpmd
+%{_bindir}/testbbdev
%{_bindir}/dpdk-procinfo
%if %{with shared}
%{_libdir}/*.so.*
@@ -275,6 +288,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g'
%{buildroot}/%{_sysconfdir}/profi
%endif
%changelog
+* Fri Mar 02 2018 Neil Horman <nhorman(a)redhat.com> - 18.02-2
+- update to latest upstream (bz 1550708)
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 17.11-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index fb4b6f2..0c34129 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (dpdk-17.11.tar.xz) =
0b4dd3ce0dd2c57a0ab4dc8d8f7a27b914d418e48219eecfd6aad123af8ca64515b414385cb512aa5bc1fca6bda429841590f90fcc461821717deaa50545ca8d
+SHA512 (dpdk-18.02.tar.xz) =
51695210a0358cf971fc9b4214d7b43a0d628bb5816ce8a4c6381a4f2b611b76493f015b93a2da469665f82ee9403a7ea7ebff2d2c7a7306b7376ace72baa082