Skip to contentSkip to conversation

meson: bump the minimum required version to 0.60.0

PATCH In review Robin Jarry 2 participants 4 messages Jul 16 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: bump the minimum required version to 0.60.0

Fix the following warnings:

doc/api/meson.build:24: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.
doc/api/meson.build:71: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.
doc/api/meson.build:86: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.
doc/guides/meson.build:16: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.

Run the CI with --fatal-meson-warnings to ensure future warnings get detected.

---

Notes:
NB: it would probably be nice to run builds with the latest meson release too.

 .ci/linux-build.sh | 1 +
 meson.build        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
.ci/linux-build.sh +1 -0
index e0b914a14279..697b5ba9854a 100755
@@ -163,6 +163,7 @@ fi
 
 OPTS="$OPTS -Dbuildtype=$buildtype"
 OPTS="$OPTS -Dwerror=true"
+OPTS="$OPTS --fatal-meson-warnings"
 
 if [ -d build ]; then
     meson configure build $OPTS
meson.build +1 -1
index b01010ffa076..addfb28194c4 100644
@@ -10,7 +10,7 @@ project('DPDK', 'c',
             'default_library=static',
             'warning_level=2',
         ],
-        meson_version: '>= 0.57.2'
+        meson_version: '>= 0.60.0'
         # meson_version_windows: '>= 1.5.2'
 )
 
Signature · 1 line
2.55.0
#1 lore raw
Quoted 11 lines · Robin Jarry

Fix the following warnings:

doc/api/meson.build:24: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.
doc/api/meson.build:71: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.
doc/api/meson.build:86: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.
doc/guides/meson.build:16: WARNING: Project targets '>= 0.57.2' but uses
feature introduced in '0.60.0': install_tag arg in custom_target.

Quoted 9 lines

Run the CI with --fatal-meson-warnings to ensure future warnings get detected.

---

Notes:
NB: it would probably be nice to run builds with the latest meson release too.

@See
https://patches.dpdk.org/project/dpdk/patch/[email protected]/

/Bruce