From: Bruce Richardson Subject: Re: [RFC PATCH] RFC build: prototype support for ARM builds Date: Tue, 19 Dec 2017 14:17:28 +0000 Message-ID: <20171219141727.GA14588@bricha3-MOBL3.ger.corp.intel.com> References: <20171219105338.198727-1-bruce.richardson@intel.com> <1513690027.25709.75.camel@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com To: Luca Boccassi Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 071F71D7 for ; Tue, 19 Dec 2017 15:17:32 +0100 (CET) Content-Disposition: inline In-Reply-To: <1513690027.25709.75.camel@debian.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Dec 19, 2017 at 01:27:07PM +0000, Luca Boccassi wrote: > On Tue, 2017-12-19 at 10:53 +0000, Bruce Richardson wrote: > > Add some skeleton files to enable compiling for ARM target. This has > > been > > tested by doing a cross-compile for armv8-a type using the linaro gcc > > toolchain. > > > > meson arm-build --cross-file aarch64_cross.txt > > ninja -C arm-build > > > > where aarch64_cross.txt contained the following > > > > [binaries] > > c = 'aarch64-linux-gnu-gcc' > > cpp = 'aarch64-linux-gnu-cpp' > > ar = 'aarch64-linux-gnu-ar' > > > > [host_machine] > > system = 'linux' > > cpu_family = 'aarch64' > > cpu = 'armv8-a' > > endian = 'little' > > > > It is hoped that those working on arm architecture can use this as a > > baseline > > to add arm support - both native compiled and cross-compiled - to the > > meson > > build. > > Can't comment on ARM functionality, but shouldn't the new files use > SPDX ids rather than the full license header? > Yes, they should. However, this is just a prototype patch used to verify the cross-compile functionality of the build system and is not directly intended for merge. A proper implementation should, I think, come from those more familiar with arm architecture than I am. [Hence the CC of Jerin and Hemant on the patch]. Because of that I didn't go back to edit the license tag of the patch i.e. I was a bit lazy. :-) /Bruce