diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-23 22:12:31 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-23 22:12:31 +0300 |
commit | b47a5293e9fd34f161c65e533c27ef06ccc47a4e (patch) | |
tree | bc33daeff635535014b9c75cc23fe4dadae5aa7c | |
parent | b3c240989bde292e561b7f905f008d9da4aa6668 (diff) | |
download | meson-b47a5293e9fd34f161c65e533c27ef06ccc47a4e.zip meson-b47a5293e9fd34f161c65e533c27ef06ccc47a4e.tar.gz meson-b47a5293e9fd34f161c65e533c27ef06ccc47a4e.tar.bz2 |
Delete old outputs that are no longer in the Ninja file.cleandead
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 9707640..dc5b5df 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -572,6 +572,7 @@ class NinjaBackend(backends.Backend): # 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'): subprocess.call(self.ninja_command + ['-t', 'restat']) + subprocess.call(self.ninja_command + ['-t', 'cleandead']) self.generate_compdb() # http://clang.llvm.org/docs/JSONCompilationDatabase.html |