pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: wangw.fnst@fujitsu.com, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: samay sharma <smilingsamay@gmail.com>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [RFC] building postgres with meson - v13
Date: Tue, 18 Oct 2022 12:09:31 -0500
Message-ID: <20221018170930.GA16921@telsasoft.com> (raw)
In-Reply-To: <20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de>
References: <20220922150550.pscsjv4nwnslupeg@awork3.anarazel.de>
	<20220922200533.GA697326@nathanxps13>
	<20220922202809.4touie37lfafyabw@awork3.anarazel.de>
	<20220922223729.GA721620@nathanxps13>
	<2298281.1664041949@sss.pgh.pa.us>
	<20220924180955.2hevwoniwsj2q2tm@awork3.anarazel.de>
	<c5736f70-bb6d-8d25-e35c-e3d886e4e905@enterprisedb.com>
	<20220926163516.ftxjmoljjwyy4m2q@awork3.anarazel.de>
	<20220926194435.4hhrwu7d6anrapc3@awork3.anarazel.de>
	<20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de>

> 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.





view thread (81+ messages)  latest in thread

Message-ID: <20221018170930.GA16921@telsasoft.com>
Permalink:  ../20221018170930.GA16921@telsasoft.com/
Also on:    postgresql.org/message-id/20221018170930.GA16921@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, andres@anarazel.de, peter.eisentraut@enterprisedb.com, pg@bowt.ie, tgl@sss.pgh.pa.us, nathandbossart@gmail.com, andrew@dunslane.net, thomas.munro@gmail.com, smilingsamay@gmail.com, byavuz81@gmail.com
  Subject: Re: [RFC] building postgres with meson - v13
  In-Reply-To: <20221018170930.GA16921@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox