DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support
@ 2017-01-18 21:46 Anders Roxell
  2017-01-18 21:46 ` [dpdk-dev] [PATCH 2/2] pkg: remove xen-devel for aarch64 Anders Roxell
  2017-02-07 17:13 ` [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Thomas Monjalon
  0 siblings, 2 replies; 3+ messages in thread
From: Anders Roxell @ 2017-01-18 21:46 UTC (permalink / raw)
  To: thomas.monjalon; +Cc: dev, ricardo.salveti, Anders Roxell

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 pkg/dpdk.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec
index 189cb2f2..a27bdd3b 100644
--- a/pkg/dpdk.spec
+++ b/pkg/dpdk.spec
@@ -40,10 +40,16 @@ Summary: Data Plane Development Kit core
 Group: System Environment/Libraries
 License: BSD and LGPLv2 and GPLv2
 
-ExclusiveArch: i686, x86_64
+ExclusiveArch: i686 x86_64 aarch64
+%ifarch aarch64
+%global machine armv8a
+%global target arm64-%{machine}-linuxapp-gcc
+%global config arm64-%{machine}-linuxapp-gcc
+%else
 %global machine default
 %global target %{_arch}-%{machine}-linuxapp-gcc
 %global config %{_arch}-native-linuxapp-gcc
+%endif
 
 BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
 BuildRequires: doxygen, python-sphinx, inkscape
-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-dev] [PATCH 2/2] pkg: remove xen-devel for aarch64
  2017-01-18 21:46 [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Anders Roxell
@ 2017-01-18 21:46 ` Anders Roxell
  2017-02-07 17:13 ` [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Thomas Monjalon
  1 sibling, 0 replies; 3+ messages in thread
From: Anders Roxell @ 2017-01-18 21:46 UTC (permalink / raw)
  To: thomas.monjalon; +Cc: dev, ricardo.salveti, Anders Roxell

Disable xen-devel since it just got available for aarch64 in Fedora 25.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 pkg/dpdk.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec
index a27bdd3b..ad30ecf8 100644
--- a/pkg/dpdk.spec
+++ b/pkg/dpdk.spec
@@ -51,7 +51,10 @@ ExclusiveArch: i686 x86_64 aarch64
 %global config %{_arch}-native-linuxapp-gcc
 %endif
 
-BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
+BuildRequires: kernel-devel, kernel-headers, libpcap-devel
+%ifarch i686 x86_64
+BuildRequires: xen-devel
+%endif
 BuildRequires: doxygen, python-sphinx, inkscape
 BuildRequires: texlive-collection-latexextra
 
@@ -109,7 +112,9 @@ sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' %{target}/.config
 sed -ri 's,(RTE_NEXT_ABI=).*,\1n,'         %{target}/.config
 sed -ri 's,(LIBRTE_VHOST=).*,\1y,'         %{target}/.config
 sed -ri 's,(LIBRTE_PMD_PCAP=).*,\1y,'      %{target}/.config
+%ifarch i686 x86_64
 sed -ri 's,(LIBRTE_PMD_XENVIRT=).*,\1y,'   %{target}/.config
+%endif
 make O=%{target} %{?_smp_mflags}
 make O=%{target} doc
 
-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support
  2017-01-18 21:46 [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Anders Roxell
  2017-01-18 21:46 ` [dpdk-dev] [PATCH 2/2] pkg: remove xen-devel for aarch64 Anders Roxell
@ 2017-02-07 17:13 ` Thomas Monjalon
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2017-02-07 17:13 UTC (permalink / raw)
  To: Anders Roxell; +Cc: dev, ricardo.salveti

2017-01-18 22:46, Anders Roxell:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

Series applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-07 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 21:46 [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Anders Roxell
2017-01-18 21:46 ` [dpdk-dev] [PATCH 2/2] pkg: remove xen-devel for aarch64 Anders Roxell
2017-02-07 17:13 ` [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).