summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2022-10-07 17:24:04 +0100
committerDavid Marchand <david.marchand@redhat.com>2022-10-10 16:52:38 +0200
commit909ad7b80e5ede401354f817dc802b68bb9cb4ff (patch)
tree51f57b0befa27630345b3d5d781c6933250b01a0 /.ci
parent8ad97e4b321510a38e3cc28709902a485b5221e4 (diff)
build: increase minimum meson version to 0.53.2
This patchset bumps the minimum meson version from 0.49.2 to 0.53.2. Ideally, the minimum version should be 0.53 without a point release, but some DPDK builds (mingw) are broken with 0.53.0 due to issue[1], fixed by commit[2] in 0.53.1. Therefore we use the latest point release from 0.53 branch i.e. 0.53.2. Some new features of interest which can now be used in DPDK with this new minimum meson version: * can do header-file checks directly inside find_library calls, rather than needing a separate check.[v0.50]. * can pass multiple cross-files at the same time when cross-compiling [v0.51]. * "alias_target" function, to allow use to give better/shorter names for particular build objects [v0.52]. * auto-generation of clang-format [v0.50] and clang-tidy[v0.52] targets when those tools are present and config dotfiles are present. Similarly ctags and cscope are added as targets when those tools are present [v0.53] * meson module for filesystem operations, so meson can now check for the presence of particular files or directories [v0.53]. * "summary" function to provide a configuration summary at the end of the meson run [v0.53]. Plus many other features. See [3] for full details of each version. [1] https://github.com/mesonbuild/meson/issues/6442 [2] https://github.com/mesonbuild/meson/pull/6457/commits/8e7a7c36b579 [3] https://mesonbuild.com/Release-notes.html Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: David Marchand <david.marchand@redhat.com>
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/linux-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh
index f5ef6b1b98..975bf32144 100755
--- a/.ci/linux-setup.sh
+++ b/.ci/linux-setup.sh
@@ -4,7 +4,7 @@
[ "$(id -u)" != '0' ] || alias sudo=
# need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade 'meson==0.49.2'
+sudo python3 -m pip install --upgrade 'meson==0.53.2'
# setup hugepages. error ignored because having hugepage is not mandatory.
cat /proc/meminfo