Re: [RFC] building postgres with meson - v13 - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: [RFC] building postgres with meson - v13
Date
Msg-id 20221018170930.GA16921@telsasoft.com
Whole thread Raw
In response to Re: [RFC] building postgres with meson - v13  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> From 680ff3f7b4da1dbf21d0c7cd87af9bb5ee8b230c Mon Sep 17 00:00:00 2001
> From: Andres Freund <andres@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.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Checking for missing heap/index files
Next
From: Robert Haas
Date:
Subject: Re: Checking for missing heap/index files