[PATCH] meson: fix always-true meson version check

Bruce Richardson bruce.richardson at intel.com
Thu Oct 15 13:09:44 CEST 2026


Since the minimum version of meson needed to build DPDK has been
increased to 0.61, the version check for >= 0.60.2 will always be true,
so just remove it.

Fixes: c1d15cc8d571 ("build: bump meson version to remove warnings")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 config/x86/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/x86/meson.build b/config/x86/meson.build
index 124b204847..e091beb293 100644
--- a/config/x86/meson.build
+++ b/config/x86/meson.build
@@ -98,7 +98,7 @@ if (binutils_ok and cc.has_multi_arguments(avx512_march_flag)
         endif
     endif
 endif
-if developer_mode and meson.version().version_compare('>=0.60.2')
+if developer_mode
     message('Extra C flags needed for AVX2 output: [@0@]'.format(','.join(cc_avx2_flags)))
     if cc_has_avx512
         message('Extra C flags needed for AVX512 output: [@0@]'.format(','.join(cc_avx512_flags)))
-- 
2.56.0



More information about the dev mailing list