Re: [dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test

2020-06-17 Thread David Christensen
16/06/2020 22:35, David Christensen: Thomas Monjalon wrote: This script supports only builds from x86 Linux so far. This patch is adding cross-compilation of ppc from x86, and it works fine. Which distro and packages are used for testing? I tried it with Ubuntu 20.04 but the cross-compiler is

Re: [dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test

2020-06-16 Thread Thomas Monjalon
16/06/2020 22:35, David Christensen: > Thomas Monjalon wrote: > > This script supports only builds from x86 Linux so far. > > This patch is adding cross-compilation of ppc from x86, > > and it works fine. > > Which distro and packages are used for testing? I tried it with Ubuntu > 20.04 but the

Re: [dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test

2020-06-16 Thread David Christensen
+# ppc configurations +for f in $srcdir/config/ppc/ppc* ; do + build build-$(basename $f | cut -d'-' -f-2) $f $use_shared +done + The entire script file is poorly structured for multi-architecture builds. The script fails on PPC64LE even before your changes: This script supports only bu

Re: [dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test

2020-06-15 Thread Thomas Monjalon
15/06/2020 23:43, David Christensen: > On 6/14/20 3:57 PM, Thomas Monjalon wrote: > > diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh > > index 1d80a029aa..1cde17a2e5 100755 > > --- a/devtools/test-meson-builds.sh > > +++ b/devtools/test-meson-builds.sh > > @@ -212,6 +212

Re: [dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test

2020-06-15 Thread David Christensen
On 6/14/20 3:57 PM, Thomas Monjalon wrote: diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 1d80a029aa..1cde17a2e5 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -212,6 +212,11 @@ for f in $srcdir/config/arm/arm64_[bdo]*gcc ; do

[dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test

2020-06-14 Thread Thomas Monjalon
The CPU is defined as Power8, running as little endian. Signed-off-by: Thomas Monjalon --- config/ppc/ppc64le-power8-linux-gcc | 11 +++ devtools/test-meson-builds.sh | 5 + 2 files changed, 16 insertions(+) create mode 100644 config/ppc/ppc64le-power8-linux-gcc diff --git a