From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC571A034E for ; Mon, 21 Feb 2022 04:17:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C203A410F0; Mon, 21 Feb 2022 04:17:49 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 715DC41147 for ; Mon, 21 Feb 2022 04:17:48 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D50481063; Sun, 20 Feb 2022 19:17:47 -0800 (PST) Received: from net-arm-n1amp-02.shanghai.arm.com (net-arm-n1amp-02.shanghai.arm.com [10.169.210.142]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 013D43F66F; Sun, 20 Feb 2022 19:17:45 -0800 (PST) From: Ruifeng Wang To: stable@dpdk.org Cc: luca.boccassi@gmail.com, nd@arm.com, Ruifeng Wang , Stephen Hemminger Subject: [PATCH 20.11] config: add arch define for Arm Date: Mon, 21 Feb 2022 11:17:18 +0800 Message-Id: <20220221031718.1160060-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org [ upstream commit 9cc217a28310d21fba56e5eceb740b4feb7e0949 ] As per design document, RTE_ARCH is the name of the architecture. However, the definition was missing on Arm with meson build. It impacts applications that refers to this string. Added for Arm builds. Fixes: b1d48c41189a ("build: support ARM with meson") Reported-by: Stephen Hemminger Signed-off-by: Ruifeng Wang --- config/arm/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index fcbcf1ca56..bb72f40c65 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -137,12 +137,14 @@ dpdk_conf.set('RTE_FORCE_INTRINSICS', 1) if dpdk_conf.get('RTE_ARCH_32') dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64) dpdk_conf.set('RTE_ARCH_ARMv7', 1) + dpdk_conf.set('RTE_ARCH', 'armv7') # 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) + dpdk_conf.set('RTE_ARCH', 'armv8') machine = [] cmd_generic = ['generic', '', '', 'default', ''] -- 2.25.1