From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A394A00C2; Thu, 23 Apr 2020 10:23:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE3481D419; Thu, 23 Apr 2020 10:23:57 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 455251D410 for ; Thu, 23 Apr 2020 10:23:56 +0200 (CEST) IronPort-SDR: R7ZdliZVN9mwtQ1O9bhGjFLOL82x31CPQkzEJ6o1Ac9dEJ2ZPpSViqSSV5szD43goFGHhdM4uW 4qSqifC1MEwg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 01:23:55 -0700 IronPort-SDR: 7sdKoPc2KhZ63TCdWEE4gnf5lyWkJZmC8+FKrD26yHNq/MOlQKm/9vw6kpd0OcGjNOBcN5Kdri MQNtzLpQI45w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,306,1583222400"; d="scan'208";a="291111373" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 23 Apr 2020 01:23:54 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Apr 2020 01:23:30 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 23 Apr 2020 16:23:27 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Thu, 23 Apr 2020 16:23:27 +0800 From: "Zhang, XuemingX" To: "Richardson, Bruce" CC: "dev@dpdk.org" , "thomas@monjalon.net" , "Chen, Zhaoyan" , "Ma, LihongX" Thread-Topic: [dpdk-dev] [PATCH V1] add meson build 32-bits on x86_64 Thread-Index: AQHWGJbf7oT+3p3DBUOpjwNLo7pMb6iGW35w Date: Thu, 23 Apr 2020 08:23:26 +0000 Message-ID: References: <20200422094854.7884-1-xuemingx.zhang@intel.com> <20200422111200.GC1402@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20200422111200.GC1402@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH V1] add meson build 32-bits on x86_64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Many thanks Bruce,=20 Your suggestion is very good, I will try to do it >-----Original Message----- >From: Bruce Richardson [mailto:bruce.richardson@intel.com] >Sent: Wednesday, April 22, 2020 7:12 PM >To: Zhang, XuemingX >Cc: dev@dpdk.org; thomas@monjalon.net; Chen, Zhaoyan >; Ma, LihongX >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 >> --- >> 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