> From 680ff3f7b4da1dbf21d0c7cd87af9bb5ee8b230c Mon Sep 17 00:00:00 2001 > From: Andres Freund <and...@anarazel.de> > Date: Wed, 21 Sep 2022 20:36:36 -0700 > Subject: [PATCH v17 01/23] meson: ci: wip: move compilerwarnings task to meson > > --- > .cirrus.yml | 92 +++++++++++++------------- > src/tools/ci/linux-mingw-w64-64bit.txt | 13 ++++ > 2 files changed, 59 insertions(+), 46 deletions(-) > create mode 100644 src/tools/ci/linux-mingw-w64-64bit.txt > > diff --git a/.cirrus.yml b/.cirrus.yml > index 7b5cb021027..eb33fdc4855 100644 > --- a/.cirrus.yml > +++ b/.cirrus.yml > @@ -465,6 +465,10 @@ task: > ccache_cache: > folder: $CCACHE_DIR > > + ccache_stats_start_script: > + ccache -s > + ccache -z
I realized that ccache -z clears out not only the global stats, but the per-file cache stats (from which the global stats are derived) - which obviously makes the cache work poorly. Newer ccache has CCACHE_STATSLOG, and --show-log-stats, which I think can do what's wanted. I'll update my ci branch with that.