pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: ci: Convert CompilerWarnings job to meson
2+ messages / 2 participants
[nested] [flat]

* pgsql: ci: Convert CompilerWarnings job to meson
@ 2026-10-25 09:31 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2026-10-25 09:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: ci: Convert CompilerWarnings job to meson
@ 2026-11-05 21:23 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2026-11-05 21:23 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

This backpatches commit 3ca57291ff3 to 19. Since cirrus-ci shut down, only 19
and master have CI, due to the incremental work towards a new CI system. I
soon plan to backpatch CI to all versions that previously had CI. Maintenance
of CI going forward will be simpler if the branches are as similar as
possible.

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
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fa93d7928e72f08b0eef1dc4759e24ac1b0102a0
Author: Peter Eisentraut <peter@eisentraut.org>

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-11-05 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25 09:31 pgsql: ci: Convert CompilerWarnings job to meson Peter Eisentraut <peter@eisentraut.org>
2026-11-05 21:23 pgsql: ci: Convert CompilerWarnings job to meson Andres Freund <andres@anarazel.de>

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