Fix version requirement on Ninja feature.

pull/9667/head
Jussi Pakkanen 3 years ago committed by Nirbheek Chauhan
parent 4859d7039b
commit 958d6e387e
  1. 2
      mesonbuild/backend/ninjabackend.py

@ -581,7 +581,7 @@ class NinjaBackend(backends.Backend):
os.replace(tempfilename, outfilename)
mlog.cmd_ci_include(outfilename) # For CI debugging
# Refresh Ninja's caches. https://github.com/ninja-build/ninja/pull/1685
if mesonlib.version_compare(self.ninja_version, '>=1.10.2') and os.path.exists('.ninja_deps'):
if mesonlib.version_compare(self.ninja_version, '>=1.10.0') and os.path.exists('.ninja_deps'):
subprocess.call(self.ninja_command + ['-t', 'restat'])
subprocess.call(self.ninja_command + ['-t', 'cleandead'])
self.generate_compdb()

Loading…
Cancel
Save