From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 2313C14EC for ; Tue, 29 May 2018 17:38:02 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B1856214E0; Tue, 29 May 2018 11:38:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 29 May 2018 11:38:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=K4T6OTPemDUKYDklG6lE2sY+3W vIZekJ9YxBpTdtzYc=; b=ZVHjjy2ndAc0DmyxoueJl4gsr3PVb09fbWePOnlite POF95rAbSy1HDY8G4oSkjiMoWC4OcZa22ok5K0N2JtsPVdH8Lmd1QXM70+B0Lu8Y yjRrHI/Y3/oZn4DBZXSYj0ql8dYR847wMENkxsN3R1hDE76bYTbLqpidrWhHeOU2 8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=K4T6OT PemDUKYDklG6lE2sY+3WvIZekJ9YxBpTdtzYc=; b=gAAGYBSf66Qtn9amALU0ma tNyX9ir8mCf7mBh5c5yv+DB9xbZj3N9q0aDnNTHF1HyuI2PfmAt5VtZpSTpYMEDh natzAsbsq7baRUUIpZ0SCpa3b/Gt6Y3xj8A8PJ2n/LZc33nIvwrWYjDq8/zHMjn2 wHQ8iTL8ZxlLijQxm0iiga++KKELY4CqgpxBJ7Lv6FwedJQ/HPdkQMtJ0KZNymvl PmIr6j8zH/Y6vV7rp4uQuSV3LER5l49Tt8dtBCH571ztBfGa94GbfjOvWttSZY/h TD04qo8fN5EDIFqQI3aDtPPwXIsY8HXfnWR33gWXETuz1XkybWs5gGIhqbkVkS4A == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 087F8E5036; Tue, 29 May 2018 11:38:00 -0400 (EDT) From: Thomas Monjalon To: "Richardson, Bruce" Cc: dev@dpdk.org Date: Tue, 29 May 2018 17:37:59 +0200 Message-ID: <4779126.RJGVKi6kDl@xps> In-Reply-To: <59AF69C657FD0841A61C55336867B5B072633423@IRSMSX103.ger.corp.intel.com> References: <20180424123255.204330-1-bruce.richardson@intel.com> <20180529144243.9619-1-thomas@monjalon.net> <59AF69C657FD0841A61C55336867B5B072633423@IRSMSX103.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 15:38:02 -0000 29/05/2018 16:58, Richardson, Bruce: > > > -----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 > > > > From: Bruce Richardson > > > > 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 starting with "build-" is a meson build, which is > > probably an ok assumption]. > > > > 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 Applied, thanks