Skip to contentSkip to conversation

meson: fix always-true meson version check

PATCH Applied Bruce Richardson 2 participants 3 messages Oct 15 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: fix always-true meson version check

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")
---
 config/x86/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
config/x86/meson.build +1 -1
index 124b204847..e091beb293 100644
@@ -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)))
Signature · 1 line
2.56.0
#2 lore raw
Quoted 4 lines · David Marchand
Quoted 1 line · Bruce Richardson
Quoted 8 lines
Quoted 7 lines

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")

Applied, thanks.

Signature · 1 line
David Marchand