summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2018-11-15 16:54:18 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-11-18 15:30:58 +0100
commitdaf6c3c10e91b1c0dcb872f385116dc4aa477556 (patch)
treea5e5f001cc80b40d613c569b4ad242871b301e07 /config
parent6b062d56bcff9a393809f46e0aae19a18bc0fe57 (diff)
downloaddpdk-next-eventdev-daf6c3c10e91b1c0dcb872f385116dc4aa477556.zip
dpdk-next-eventdev-daf6c3c10e91b1c0dcb872f385116dc4aa477556.tar.gz
dpdk-next-eventdev-daf6c3c10e91b1c0dcb872f385116dc4aa477556.tar.xz
build: set -mfpu=neon flag for armv7-a with meson
Building on armv7a with meson currenctly fails: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10369:1: error: inlining failed in call to always_inline ‘vld1q_s32’: target specific option mismatch Set -mfpu=neon on that architecture like the legacy makefiles do to fix the issue. Fixes: b1d48c41189a ("build: support ARM with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi <bluca@debian.org> Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'config')
-rw-r--r--config/arm/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 4b23b39..b755138 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -89,6 +89,9 @@ if cc.sizeof('void *') != 8
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
dpdk_conf.set('RTE_ARCH_ARM', 1)
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
+ machine_args += '-mfpu=neon'
else
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
dpdk_conf.set('RTE_ARCH_ARM64', 1)