From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id ED6482C17 for ; Tue, 24 Apr 2018 16:38:23 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2018 07:38:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,323,1520924400"; d="scan'208";a="45674168" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.51]) by orsmga003.jf.intel.com with SMTP; 24 Apr 2018 07:38:20 -0700 Received: by (sSMTP sendmail emulation); Tue, 24 Apr 2018 15:38:19 +0100 Date: Tue, 24 Apr 2018 15:38:19 +0100 From: Bruce Richardson To: thomas@monjalon.net Cc: dev@dpdk.org Message-ID: <20180424143819.GB17328@bricha3-MOBL.ger.corp.intel.com> References: <20180424123255.204330-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180424123255.204330-1-bruce.richardson@intel.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] 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, 24 Apr 2018 14:38:24 -0000 On Tue, Apr 24, 2018 at 01:32:55PM +0100, Bruce Richardson wrote: > 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: > > * 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=nehalem) > * cross-builds for each cross-file listed in config/arm > > 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 ending in "-build" is a meson build, which is > probably an ok assumption]. > > Signed-off-by: Bruce Richardson > --- > devtools/test-meson-builds.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100755 devtools/test-meson-builds.sh > For anyone using this script, I'd recommend updating your copy of meson to version 0.46. There are some performance optimizations in it that significantly reduce the time it takes to have meson configure a build. Actual build time with ninja is as fast as ever, however! :-) /Bruce