Many thanks Bruce, Your suggestion is very good, I will try to do it
>-----Original Message----- >From: Bruce Richardson [mailto:bruce.richard...@intel.com] >Sent: Wednesday, April 22, 2020 7:12 PM >To: Zhang, XuemingX <xuemingx.zh...@intel.com> >Cc: dev@dpdk.org; tho...@monjalon.net; Chen, Zhaoyan ><zhaoyan.c...@intel.com>; Ma, LihongX <lihongx...@intel.com> >Subject: Re: [dpdk-dev] [PATCH V1] add meson build 32-bits on x86_64 > >On Wed, Apr 22, 2020 at 09:48:54AM +0000, xueming wrote: >> Add user interaction features. The default build is 64-bits. >> if you want to build 32-bits on x86_64, need to pass parameters of i686. >> Merge -vv and -v into the method >> >> Signed-off-by: xueming <xuemingx.zh...@intel.com> >> --- >> devtools/test-meson-builds.sh | 64 >> +++++++++++++++++++++++++++++++---- >> 1 file changed, 58 insertions(+), 6 deletions(-) >> >I'm wondering if this would be better done using a cross-file, rather than >overriding a bunch of environment variables - the pkg-config one would be >especially relevant. A separate cross-file could be used for debian-based >and fedora-based OS's with correct 32-bit paths and parameters in each. > >What do you think? > >/Bruce