pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ci: Convert CompilerWarnings job to meson
Date: Sun, 25 Oct 2026 09:31:52 +0000
Message-ID: <E1xKua0-00000000gJo-2Scq@gemulon.postgresql.org> (raw)

ci: Convert CompilerWarnings job to meson

This is part of the overall move toward meson.  This particular step
was previously held up because the headerscheck target was not ported
to meson, but this has been done a few months ago (commit
e82fc27e095).  This conversion is relatively straightforward.  The
scope of each individual build step (e.g., what features it enables,
what optimization level it uses) has been maintained, except as noted.

It actually covers a bit more now, as it also compiles various test
code via the testprep target.

One thing we're losing is the sharing of the configure cache between
the steps (gcc.cache, clang.cache).  There is a way to do that in
meson (meson-private/coredata.dat), but it's not meant to be used
across different build directories, and so making that work might be a
more significant restructuring.  The overall performance of the CI
runs seems to be about on par nonetheless.

Bitcode for JIT inlining is no longer built in this job, since meson
doesn't support it.  It added little to warning coverage, and the
Linux autoconf job still builds it.

Co-authored-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/e52e2c29-4834-4c64-a200-eddcba38fb4d%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3ca57291ff302793f2f559a4644862ca4b1f09bf

Modified Files
--------------
.github/workflows/pg-ci.yml       | 80 ++++++++++++++++++++++-----------------
src/tools/ci/mingw-cross-file.txt | 22 +++++++++++
2 files changed, 67 insertions(+), 35 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1xKua0-00000000gJo-2Scq@gemulon.postgresql.org>
Permalink:  ../E1xKua0-00000000gJo-2Scq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xKua0-00000000gJo-2Scq@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: ci: Convert CompilerWarnings job to meson
  In-Reply-To: <E1xKua0-00000000gJo-2Scq@gemulon.postgresql.org>
  References: <E1xKua0-00000000gJo-2Scq@gemulon.postgresql.org>

* 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