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 8A5D8A0524; Thu, 30 Jan 2020 23:17:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A4F2D1C035; Thu, 30 Jan 2020 23:17:39 +0100 (CET) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id 181151C030 for ; Thu, 30 Jan 2020 23:17:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 66C63DA28; Thu, 30 Jan 2020 17:17:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 30 Jan 2020 17:17:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=q5ZyzUjFeME3QAhBPBrVkLqV8Lpn9YDy4FHCArLBPa8=; b=JTs34VnbVl84 i4vcsW2Esl9J68A9BTdBeNZSbC5kgaYrJ7KzzCBzaK/70LzOm8Wl/UEm7Px0v1YD FCcdoHuaHWqtRmWmnzexfStNMdvlPg3KVbuzauJyOvtujqC0B5NQxqmVHeQNR1Bq JH+vCBbLP3uj9Kr9MwXQ3GSu6UAp58Q= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=q5ZyzUjFeME3QAhBPBrVkLqV8Lpn9YDy4FHCArLBP a8=; b=iet6dL/vG5GnGyZTNYAYC+0KBv0cLUE/rwOCAia7SageWemJglgKJU7xa jVwvmaZ9NYugoUKczG8zZvY4fP50dCCUCZnhMj6ikAbUBwvAEek1Ir4XjXDKFGLY W7wRVnvoJRh2vkQOQb3tby/ZdBG3kxSRyWg3xZKHlgt6/w4LhhGZSTkoqbO5eRoe uBP7VRtqTn1qVyjNgHnSVC3Bwn/0GQN7YRM/TuSbdXE1GeNL1mX35VsYwwXw4tgw K+VWlhwxFGFdpGXhJcZAYcI/U4ZFTxvH8MvlUxwu6p9Y49sGenMeJGmZUauow/EN S8dbIm8tb+WguhJaHZAMyD6oJpHMg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B62AA30608E0; Thu, 30 Jan 2020 17:17:34 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, bruce.richardson@intel.com, kevin.laatz@intel.com, aconole@redhat.com, nhorman@tuxdriver.com, akhil.goyal@nxp.com, anoobj@marvell.com, bluca@debian.org, fiona.trahe@intel.com, ferruh.yigit@intel.com, Michael Santana Date: Thu, 30 Jan 2020 23:17:32 +0100 Message-ID: <2570362.KRxA6XjA2N@xps> In-Reply-To: <20200130160009.6549-4-david.marchand@redhat.com> References: <20191220152058.10739-1-david.marchand@redhat.com> <20200130160009.6549-1-david.marchand@redhat.com> <20200130160009.6549-4-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 3/4] build: test meson installation 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" 30/01/2020 17:00, David Marchand: > Let's test installing with meson as part of Travis and the > devtools/test-meson-builds.sh script. For test-meson-builds.sh, I would prefer avoiding install if not needed. Can we install only if compiling examples or checking ABI? > -compile () # > +compile () # > { > builddir=$1 > if [ -n "$TEST_MESON_BUILD_VERY_VERBOSE" ] ; then > @@ -90,6 +90,9 @@ compile () # > echo "$ninja_cmd -C $builddir" > $ninja_cmd -C $builddir > fi > + rm -rf $2 > + echo "DESTDIR=$2 $ninja_cmd -C $builddir install" > + DESTDIR=$2 $ninja_cmd -C $builddir install > } > > build () # > @@ -102,7 +105,8 @@ build () # > command -v ${CC##* } >/dev/null 2>&1 || return 0 > load_env $targetcc || return 0 > config $srcdir $builds_dir/$targetdir $* > - compile $builds_dir/$targetdir > + compile $builds_dir/$targetdir \ > + $(readlink -f $builds_dir/$targetdir/install) > }