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 5E1441C3BD for ; Wed, 27 Jun 2018 23:25:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF88C213B6; Wed, 27 Jun 2018 17:25:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 27 Jun 2018 17:25:51 -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=bn6alHchnXmuzpSGh5xdvgKDhI AOuySl2RKIfkQ+0cE=; b=HOfAaC2VyMF+7aw6Xm/ld7xTjmlpcNIg2C3O9jeYua 3++QEgZ0riUTFBv0oFD6NNRU8YQTZgaaHm+gAAGr7PhB2L03mNt8qERE15psmbxB l6gxL5rK2r7uZb+bzfGkj/QllnPEykoxNMCReWWQd3fqcL46HDWO/mMldE07EbTH U= 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=fm3; bh=bn6alH chnXmuzpSGh5xdvgKDhIAOuySl2RKIfkQ+0cE=; b=Ze/bideECAOeUNj1gktuGw 8mqKcp0KqbuzJqFGU8nH8/fmIS1LqPWWfeNqeAW9L6dk9uHrJWyh1s/ine/eEF/8 MyIfjXnKokBKcOygXLy43w2UfGlRH9cjXqDKoNjQ+Ok309YFEAJjjsAIG3rMj4/0 xgMNDvCVFx7GP/eVo16MQXvcDTspsEYTnJT2dpDEwvl62mhZ6xcLXo5ZJg1i7g/M +AMrnHm9CDX0Tok7S+6grBynI2bRl+QQvpOuL4+wcILc3csV2RYf0WkBWV9jBYzW y8jrdYls4s6QVotqV9UC8PzWxIIt7Bo/f55a106yhIob76HuYvc4WL/06D7tV/qA == 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 DB5E61025D; Wed, 27 Jun 2018 17:25:50 -0400 (EDT) From: Thomas Monjalon To: Gavin Hu Cc: dev@dpdk.org, nd@arm.com Date: Wed, 27 Jun 2018 23:25:49 +0200 Message-ID: <5050805.QkCkagIahT@xps> In-Reply-To: <20180625024913.17219-7-gavin.hu@arm.com> References: <20180619103657.19186-1-gavin.hu@arm.com> <20180625024913.17219-1-gavin.hu@arm.com> <20180625024913.17219-7-gavin.hu@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v13 6/6] devtools: expand meson cross compiling test coverage 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: Wed, 27 Jun 2018 21:25:52 -0000 Hi, 25/06/2018 04:49, Gavin Hu: > --- a/devtools/test-meson-builds.sh > +++ b/devtools/test-meson-builds.sh > # enable cross compilation if gcc cross-compiler is found > +c=aarch64-linux-gnu-gcc > +if ! command -v $c >/dev/null 2>&1 ; then > + echo "## ERROR: $c is missing, cross compiling is aborting..." Not having a cross compiler should not be an error. > + return Please, no return, because we could add more compilation tests below, including other cross-compilations. > +fi > + > +# compile the general v8a also for clang to increase coverage > +export CC="ccache clang" > +build build-arm64-host-clang --cross-file config/arm/arm64_armv8_linuxapp_gcc > + > for f in config/arm/arm*gcc ; do > - c=aarch64-linux-gnu-gcc > - if ! command -v $c >/dev/null 2>&1 ; then > - continue > - fi > - build build-$(basename $f | tr '_' '-' | cut -d'-' -f-2) --cross-file $f > + export CC="ccache gcc" > + build build-$(basename $f | tr '_' '-' | cut -d'-' -f-2) \ > + --cross-file $f > done