From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 36F9D2583 for ; Tue, 29 May 2018 16:58:48 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2018 07:58:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,456,1520924400"; d="scan'208";a="59491333" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga001.fm.intel.com with ESMTP; 29 May 2018 07:58:45 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.136]) by IRSMSX102.ger.corp.intel.com ([169.254.2.146]) with mapi id 14.03.0319.002; Tue, 29 May 2018 15:58:45 +0100 From: "Richardson, Bruce" To: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [PATCH v5] devtools: add test script for meson builds Thread-Index: AQHT91tg/xW467hIeEO9GPh9nffZ4KRGzEfA Date: Tue, 29 May 2018 14:58:45 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B072633423@IRSMSX103.ger.corp.intel.com> References: <20180424123255.204330-1-bruce.richardson@intel.com> <20180529144243.9619-1-thomas@monjalon.net> In-Reply-To: <20180529144243.9619-1-thomas@monjalon.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOThmNzVlNGEtOTU5Mi00OGQxLTk4MDUtNWE3OTA1MjhhZmMzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoid0dyV3JROHRRN3NBTGJyXC9QUm9rU05ZblRBWUZNV0RjNjRMZWVXZGh6NVNaSlk5a3ZiWGw5d2dtWmVBK1VPYXoifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5] devtools: add test script for meson builds 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: , X-List-Received-Date: Tue, 29 May 2018 14:58:48 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Tuesday, May 29, 2018 3:43 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH v5] devtools: add test script for meson builds >=20 > From: Bruce Richardson >=20 > To simplify testing with the meson and ninja builds, we can add a script > to set up and do multiple builds. Currently this script sets up: >=20 > * clang and gcc builds > * builds using static and shared linkage for binaries (libs are always > built as both) > * a build using the lowest instruction-set level for x86 (-march=3Dnehale= m) > * cross-builds for each cross-file listed in config/arm >=20 > Each build is configured in a directory ending in *-build, and then for > the build stage, we just call ninja in each directory in turn. [i.e. we > assume every directory starting with "build-" is a meson build, which is > probably an ok assumption]. >=20 > Signed-off-by: Bruce Richardson > Signed-off-by: Thomas Monjalon > --- > v2: it is a rework with 3 major changes > - automatically stop on error thanks to -e > - directory name starts with "build-" > - optionally load a config file to get some environment variables > v3: > - remove forcing "cd": use current directory > - remove CROSS: use hard-written aarch64-linux-gnu-gcc > - remove config load in script start > v4: > - remove config file loading (will be improved and sent later) > - the v4 is closer to what Bruce sent as v1 > v5: > - specify srcdir to build from anywhere > - use ccache for ARM > --- > MAINTAINERS | 1 + > devtools/test-meson-builds.sh | 46 > +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 47 insertions(+) > create mode 100755 devtools/test-meson-builds.sh LGTM