Re: [dpdk-dev] [PATCH v4] build: add platform meson option

2021-04-15 Thread Bruce Richardson
On Thu, Apr 15, 2021 at 01:32:08PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Wednesday, March 31, 2021 2:39 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; david.march...@redhat.com; > > honnappa.nagaraha...@arm.com; dev@dpdk.org > >

Re: [dpdk-dev] [PATCH v4] build: add platform meson option

2021-04-15 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, March 31, 2021 2:39 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; david.march...@redhat.com; > honnappa.nagaraha...@arm.com; dev@dpdk.org > Subject: Re: [PATCH v4] build: add platform meson option > > On Wed, Mar 31, 2

Re: [dpdk-dev] [PATCH v4] build: add platform meson option

2021-03-31 Thread Bruce Richardson
On Wed, Mar 31, 2021 at 12:16:59PM +, Juraj Linkeš wrote: > Bruce, what do you think of the patch now? Do we need to add/change anything > else, like documentation? > > One thing to note is that we're changing the default behavior in this patch > from machine=native to machine=generic (or mo

Re: [dpdk-dev] [PATCH v4] build: add platform meson option

2021-03-31 Thread Juraj Linkeš
> -Original Message- > From: Juraj Linkeš > Sent: Wednesday, March 31, 2021 2:17 PM > To: Juraj Linkeš ; tho...@monjalon.net; > david.march...@redhat.com; bruce.richard...@intel.com; > honnappa.nagaraha...@arm.com > Cc: dev@dpdk.org > Subject: RE: [PATCH v4] build: add platform meson opt

Re: [dpdk-dev] [PATCH v4] build: add platform meson option

2021-03-31 Thread Juraj Linkeš
Bruce, what do you think of the patch now? Do we need to add/change anything else, like documentation? One thing to note is that we're changing the default behavior in this patch from machine=native to machine=generic (or more accurately, to cpu_instruction_set=generic). Do we want to do that?

[dpdk-dev] [PATCH v4] build: add platform meson option

2021-03-29 Thread Juraj Linkeš
The current meson option 'machine' should only specify the ISA, which is not sufficient for Arm, where setting ISA implies other setting as well. Add a new meson option, 'platform', which differentiates the type of the build (native/generic) and sets machine accordingly, unless the user chooses to