Re: [dpdk-dev] [PATCH v2] test-meson-builds: add a 32-bit build

2020-11-06 Thread Bruce Richardson
On Fri, Nov 06, 2020 at 01:40:54PM +0100, Thomas Monjalon wrote: > 05/11/2020 18:21, Bruce Richardson: > > + DPDK_TARGET_OVERRIDE="i386-pc-linux-gnu" \ > > + build build-32b cc -Dc_args='-m32' -Dc_link_args='-m32' > > Surprinsingly, DPDK_TARGET_OVERRIDE is set in the global context, >

Re: [dpdk-dev] [PATCH v2] test-meson-builds: add a 32-bit build

2020-11-06 Thread Thomas Monjalon
05/11/2020 18:21, Bruce Richardson: > + DPDK_TARGET_OVERRIDE="i386-pc-linux-gnu" \ > + build build-32b cc -Dc_args='-m32' -Dc_link_args='-m32' Surprinsingly, DPDK_TARGET_OVERRIDE is set in the global context, so it seems unset is required. I will send a v3 with other details chang

[dpdk-dev] [PATCH v2] test-meson-builds: add a 32-bit build

2020-11-05 Thread Bruce Richardson
It's reasonably common for patches to have issues when built on 32-bits, so to prevent this, we can add a 32-bit build (if supported) to the "test-meson-builds.sh" script. The tricky bit is using a valid PKG_CONFIG_LIBDIR, so for now we use two common possibilities for where that should point to in