Re: [RFC] building postgres with meson -v8

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] building postgres with meson -v8
Date: 2022-05-04 11:53:54
Message-ID: b6176b65-a138-be7e-291f-ffbddd663ed1@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

More patches:

0001-meson-Assorted-compiler-test-tweaks.patch

I was going through a diff of pg_config.h between old and new build and
found a few omissions and small differences.

Some of the

blah ? 1 : false

is of course annoying and can be removed eventually, but it's useful
when analyzing the diff, and since it's already done in other places it
seems reasonable to apply it consistently.

Of course there is some more work left for some of the more complicated
tests; this isn't meant to be complete.

0002-meson-Add-pg_walinspect.patch

This was added more recently and was not ported yet. Nothing too
interesting here.

0003-meson-Install-all-server-headers.patch

With this, all the server headers installed by a makefile-based build
are installed. I tried to strike a balance between using
install_subdir() with exclude list versus listing things explicitly.
Different variations might be possible, but this looked pretty sensible
to me.

With these patches, the list of files installed with make versus meson
match up, except for known open items (postmaster symlink, some library
naming differences, pkgconfig, pgxs, test modules installed, documentation).

Attachment Content-Type Size
0001-meson-Assorted-compiler-test-tweaks.patch text/plain 3.9 KB
0002-meson-Add-pg_walinspect.patch text/plain 1.4 KB
0003-meson-Install-all-server-headers.patch text/plain 8.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2022-05-04 11:55:16 Re: SQL/JSON: FOR ORDINALITY bug
Previous Message Bharath Rupireddy 2022-05-04 11:12:39 Re: Configuration Parameter/GUC value validation hook