From 08f15d49a22cae654678766a98ef84c5d35404da Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 28 May 2020 14:51:11 +0200 Subject: [PATCH] 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 5feba97cd186 ('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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3e8c67114..39b07474d 100644 --- a/meson.build +++ b/meson.build @@ -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()