From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 0314DA04A5;
	Tue, 16 Jun 2020 23:26:54 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id C649D1BFB3;
	Tue, 16 Jun 2020 23:26:54 +0200 (CEST)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 568F51BFAC
 for <dev@dpdk.org>; Tue, 16 Jun 2020 23:26:53 +0200 (CEST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id 87E785C00BA;
 Tue, 16 Jun 2020 17:26:51 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute7.internal (MEProxy); Tue, 16 Jun 2020 17:26:51 -0400
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=fm1; bh=
 0UjiZMosU1rNPLzaQ9rHPVLUkqUsaypCE5ibd+BN3bo=; b=mAxAwgX4Etu1hcoR
 Ai6vmK02wCPnsyN8xZE6upkJvteDpo5J3XCFRxTuoll9d+PwrjYQl/fr0yOWM9SF
 HYl/ZWYMn25o3EO3gXs6Wt0EhDhoD0XNiL6gvpsd2ENZPMco9j/tnuoPGtQZ6IiH
 /xRo9SJEfjBxOhGrfi9AJCVS4bhO7vRMNjVgHynRMBUJ+jpePW0lYc60uL3UQgGd
 hbS6FH90suglOBgPHxkHKweDtgXqnQooIhsyaYvLlu9oyuQ0ZIlsvXum2Y3o8K7L
 Qo+Dd67ZF9hYqytn0fMARTyvyM8uDSNwzEQiUTffUDa0FDImKE3tM7EQVooDucAE
 wIXftA==
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=fm3; bh=0UjiZMosU1rNPLzaQ9rHPVLUkqUsaypCE5ibd+BN3
 bo=; b=c1lbPaSmZFbvr5lPy62p2/sZLBTQUqvxt28m/xBavSmJOoli8148H/fXA
 QrbMhfZQMZ34J2FMPIVI4+zUUjrEYw17aMDOfE+/mB+kSqIvFx0wWxm5dgOfGSHj
 UjGMDBCm6O2+Tht8wfhBNEOQxIcBKu9D3tP+Psa/nHlNVquJVgJPQpK8mMMyErti
 uSub5BTp4osbZzrRSmAC7iNJgB95F/fbu4QgLpcxKKL91DEgDfVdy9sg7s7imRwP
 WUWjZwaTKa1gavc0wwk5uWWBGuFEO5I5/gUy9aXGF5haZ1054rvhYlEOxwAsHFeJ
 doSbaNBkURZdqZTRKOn/RpGUpwVsw==
X-ME-Sender: <xms:GjnpXtq8CCpIOqTArecA03ST8KrHm2MuK80EbjXaQk0eYgpsqQjpXA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejtddgudeigecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtuf
 ertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs
 sehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnheptdevkeetgfduffektd
 egudekleegfeevvdekffevgefhheekhfefhefghefhffegnecuffhomhgrihhnpegsohho
 thhlihhnrdgtohhmnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvg
 hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhj
 rghlohhnrdhnvght
X-ME-Proxy: <xmx:GjnpXvpgUizK0IAa1wvI0FkhkGj2e-CUYVx3cOIXpZHFV9onR6UyUQ>
 <xmx:GjnpXqM-DAwgvyUlaQOgCYcY0Yd-nFePEdreKbeSPz9HyxaZSDB41A>
 <xmx:GjnpXo6JpH4rV30B_UVsvBhNaXw9EtbPRhaHPWMvrQ9lfPUXRFKuGg>
 <xmx:GznpXhhtV5vap-X4_m-YLxZ-jAvfaQ7gnQIeOjPnwiUcqRsW02PrQA>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 4C309328005E;
 Tue, 16 Jun 2020 17:26:50 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: David Christensen <drc@linux.vnet.ibm.com>
Cc: dev@dpdk.org, david.marchand@redhat.com, bruce.richardson@intel.com
Date: Tue, 16 Jun 2020 23:26:48 +0200
Message-ID: <11456904.tMkmnN7qtM@thomas>
In-Reply-To: <513cfa03-f16f-9051-72b3-ea1dc379d902@linux.vnet.ibm.com>
References: <20200614225747.3839569-1-thomas@monjalon.net>
 <5942466.NH09dW5kea@thomas>
 <513cfa03-f16f-9051-72b3-ea1dc379d902@linux.vnet.ibm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH 3/4] devtools: add ppc64 in meson build test
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

16/06/2020 22:35, David Christensen:
> Thomas Monjalon wrote:
> > This script supports only builds from x86 Linux so far.
> > This patch is adding cross-compilation of ppc from x86,
> > and it works fine.
> 
> Which distro and packages are used for testing?  I tried it with Ubuntu 
> 20.04 but the cross-compiler is named differently 
> (powerpc64le-linux-gnu-gcc instead of powerpc64le-linux-gcc).

I'm using a buildroot toolchain from bootlin:
https://toolchains.bootlin.com/releases_powerpc64le-power8.html

If it is more common to have "gnu" in the prefix,
no problem to change it in this patch.
I can create "gnu" symbolic links in my toolchain.

Ideally I would like to have an option to specify the toolchain prefix
with meson, instead of hardcoding it in a cross file.