aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-11-22 03:55:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-11-26 20:28:55 +0200
commitcef13b04c253150a449eaea806d97207281916eb (patch)
treeeac707c5f46fd95d39bf09203c88b7318eddc105 /mesonbuild/backend/ninjabackend.py
parent87b2aeb54cdf0c991f25a00f1d6dacc4aba8de0e (diff)
downloadmeson-cef13b04c253150a449eaea806d97207281916eb.zip
meson-cef13b04c253150a449eaea806d97207281916eb.tar.gz
meson-cef13b04c253150a449eaea806d97207281916eb.tar.bz2
Bump Ninja requirement to 1.8.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index f79e1f0..b03954a 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -492,7 +492,7 @@ int dummy;
def generate(self):
ninja = environment.detect_ninja_command_and_version(log=True)
if ninja is None:
- raise MesonException('Could not detect Ninja v1.7 or newer')
+ raise MesonException('Could not detect Ninja v1.8.2 or newer')
(self.ninja_command, self.ninja_version) = ninja
outfilename = os.path.join(self.environment.get_build_dir(), self.ninja_filename)
tempfilename = outfilename + '~'
@@ -500,7 +500,7 @@ int dummy;
outfile.write('# This is the build file for project "{}"\n'.format(self.build.get_project()))
outfile.write('# It is autogenerated by the Meson build system.\n')
outfile.write('# Do not edit by hand.\n\n')
- outfile.write('ninja_required_version = 1.7.1\n\n')
+ outfile.write('ninja_required_version = 1.8.2\n\n')
num_pools = self.environment.coredata.backend_options['backend_max_links'].value
if num_pools > 0: