X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_acl%2Fmeson.build;h=98ece7d85fd22e6a8d2d36a7f39ce7b6320b5383;hb=e53ce4e4137974f46743e74bd9ab912e0166c8b1;hp=2207dbafe5efdd7f1e58123714ebefb44c1a5ff3;hpb=996839793a2b6af80c29ffe55f4361ae23665e69;p=dpdk.git diff --git a/lib/librte_acl/meson.build b/lib/librte_acl/meson.build index 2207dbafe5..98ece7d85f 100644 --- a/lib/librte_acl/meson.build +++ b/lib/librte_acl/meson.build @@ -6,7 +6,7 @@ sources = files('acl_bld.c', 'acl_gen.c', 'acl_run_scalar.c', 'rte_acl.c', 'tb_mem.c') headers = files('rte_acl.h', 'rte_acl_osdep.h') -if arch_subdir == 'x86' +if dpdk_conf.has('RTE_ARCH_X86') sources += files('acl_run_sse.c') # compile AVX2 version if either: @@ -28,4 +28,9 @@ if arch_subdir == 'x86' cflags += '-DCC_AVX2_SUPPORT' endif +elif dpdk_conf.has('RTE_ARCH_ARM') or dpdk_conf.has('RTE_ARCH_ARM64') + cflags += '-flax-vector-conversions' + sources += files('acl_run_neon.c') +elif dpdk_conf.has('RTE_ARCH_PPC_64') + sources += files('acl_run_altivec.c') endif