build/meson: bump minimal required meson version

The build for 0.46.0 probably isn't working anymore. Also, I'd like to
use dictionaries, which might not be available in such old meson
versions.

Anyway, it's not a problem. We in general aim to build on ancient
distros, like CentOS-7.5 and Ubuntu-16.04. But on those systems we
install meson using `pip3 install` anyway, where we get a recent meson
version.

Note that on Ubuntu 16.04, `pip3 install meson` would currently give us
meson 0.54.2. However, that meson requires a newer Python 3 version than
we have available. Hence, on Ubuntu 16.04 we actually want to install
`pip3 install meson==0.53.2`. See commit 5feba97cd1 ('gitlab-ci: use
old meson version on Ubuntu 16.04 to work with ninja-1.5.1').

We also still build on Fedora 28, which installs meson 0.47.2 from
packaging system. So, let's stick to 0.47.2 for now.
This commit is contained in:
Thomas Haller
2020-05-28 14:51:11 +02:00
parent 024e983c8e
commit 08f15d49a2

View File

@@ -12,7 +12,7 @@ project(
'buildtype=debugoptimized',
'c_std=gnu11',
],
meson_version: '>= 0.46.0',
meson_version: '>= 0.47.2',
)
nm_name = meson.project_name()