> -----Original Message----- > From: Juraj Linkeš <juraj.lin...@pantheon.tech> > Sent: Wednesday, October 28, 2020 10:04 PM > To: bruce.richard...@intel.com; Ruifeng Wang <ruifeng.w...@arm.com>; > Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>; Phil Yang > <phil.y...@arm.com>; vcchu...@amazon.com; Dharmik Thakkar > <dharmik.thak...@arm.com>; jerinjac...@gmail.com; > hemant.agra...@nxp.com > Cc: dev@dpdk.org; Juraj Linkeš <juraj.lin...@pantheon.tech> > Subject: [PATCH v5 04/11] build: Arm reformat, comments, move config > > Change formatting so that it's more consistent and readable, add/modify > comments/stdout messages, move configuration options to more > appropriate places and make the order consistent according to these rules: > 1. First list generic configuration options, then list options that may > be overwritten. List SoC-specific options last. > 2. For SoC-specific options, list number of cores before the number of > NUMA nodes, to make it consistent with config/meson.build. > > Signed-off-by: Juraj Linkeš <juraj.lin...@pantheon.tech> > --- > config/arm/meson.build | 84 +++++++++++++++++++++++++----------------- > 1 file changed, 51 insertions(+), 33 deletions(-) > > diff --git a/config/arm/meson.build b/config/arm/meson.build index > bd2acfc21..c970c8803 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -5,6 +5,7 @@ >
<snip> > ## Arm implementer ID (ARM DDI 0487C.a, Section G7.2.106, Page G7-5321) > implementer_generic = ['Generic armv8', flags_generic, > part_number_config_default] @@ -128,15 +147,14 @@ > dpdk_conf.set('RTE_ARCH_ARM', 1) > dpdk_conf.set('RTE_FORCE_INTRINSICS', 1) > > if dpdk_conf.get('RTE_ARCH_32') > + # armv7 build > dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64) > dpdk_conf.set('RTE_ARCH_ARMv7', 1) > # the minimum architecture supported, armv7-a, needs the following, > # mk/machine/armv7a/rte.vars.mk sets it too The reference to makefile can be removed. > machine_args += '-mfpu=neon' > else > - dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128) > - dpdk_conf.set('RTE_ARCH_ARM64', 1) > - > + # aarch64 build > implementer_id = 'generic' > machine_args = [] # Clear previous machine args > if machine == 'generic' and not meson.is_cross_build() @@ -199,7 > +217,7 @@ else > endif > endforeach > endif > -message(machine_args) > +message('Using machine args: @0@'.format(machine_args)) > > if (cc.get_define('__ARM_NEON', args: machine_args) != '' or > cc.get_define('__aarch64__', args: machine_args) != '') > -- > 2.20.1