[PATCH 20.11] table: fix missing headers on ARM64

Xiaoyu Min jackmin at nvidia.com
Thu Dec 9 03:38:49 CET 2021


rte_lru_arm64.h is included from rte_lru.h if arch is ARM64.
However this file is missed in meson's headers list on ARM64 platform so
it'll not be installed on system.

Add it in headers list if arch is ARM64.

Fixes: 5b9656b157d3 ("lib: build with meson")
Cc: stable at dpdk.org

Signed-off-by: Xiaoyu Min <jackmin at nvidia.com>
---
 lib/librte_table/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_table/meson.build b/lib/librte_table/meson.build
index d69678386e..657ea7d193 100644
--- a/lib/librte_table/meson.build
+++ b/lib/librte_table/meson.build
@@ -30,4 +30,6 @@ deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
 
 if arch_subdir == 'x86'
 	headers += files('rte_lru_x86.h')
+elif arch_subdir == 'arm' and dpdk_conf.has('RTE_ARCH_ARM64')
+	headers += files('rte_lru_arm64.h')
 endif
-- 
2.34.0



More information about the stable mailing list