ci: Configure g++ with 32-bit for 32-bit build
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 9 Jan 2026 07:58:50 +0000 (08:58 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 9 Jan 2026 07:58:50 +0000 (08:58 +0100)
In future commits, we'll start to make improvements to C++
infrastructure.  This requires that for our 32-bit builds we also
build C++ code for the 32-bit architecture.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/D98JHQF7H2A8.VSE3I4CJBTAB%40partin.io

.cirrus.tasks.yml

index 77d0362a5519739733b1fb0ee7dce2f0784f3bf1..2a821593ce50f5da2c2a5a74c242063616f2a1e6 100644 (file)
@@ -570,6 +570,7 @@ task:
         su postgres <<-EOF
           set -e
           export CC='ccache gcc -m32'
+          export CXX='ccache g++ -m32'
           meson setup \
             ${MESON_COMMON_PG_CONFIG_ARGS} \
             --buildtype=debug \