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 E502AA0350 for ; Mon, 28 Feb 2022 08:47:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D1D384068A; Mon, 28 Feb 2022 08:47:52 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 979F14068A for ; Mon, 28 Feb 2022 08:47:51 +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 12F1BD6E; Sun, 27 Feb 2022 23:47:51 -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 344733F66F; Sun, 27 Feb 2022 23:47:48 -0800 (PST) From: Ruifeng Wang To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, nd@arm.com, Ruifeng Wang , Stephen Hemminger Subject: [PATCH 19.11] config: add arch define for Arm Date: Mon, 28 Feb 2022 15:47:26 +0800 Message-Id: <20220228074726.1642941-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 60f7b0539..c6ad7b6da 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -133,12 +133,14 @@ if not dpdk_conf.get('RTE_ARCH_64') dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64) dpdk_conf.set('RTE_ARCH_ARM', 1) 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