Re: [RFC] building postgres with meson - v13

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, samay sharma <smilingsamay(at)gmail(dot)com>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] building postgres with meson - v13
Date: 2022-09-26 13:01:56
Message-ID: c5736f70-bb6d-8d25-e35c-e3d886e4e905@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24.09.22 20:09, Andres Freund wrote:
> On 2022-09-24 13:52:29 -0400, Tom Lane wrote:
>> ... btw, shouldn't the CF entry [1] get closed now?
>
> Unfortunately not - there's quite a few followup patches that haven't been
> [fully] reviewed and thus not applied yet.

Here is some review of the remaining ones (might not match exactly what
you attached, I was working off your branch):

9f789350a7a7 meson: ci: wip: move compilerwarnings task to meson

This sounds reasonable to me in principle, but I haven't followed the
cirrus stuff too closely, and it doesn't say why it's "wip". Perhaps
others could take a closer look.

ccf20a68f874 meson: ci: Add additional CI coverage

IIUC, this is just for testing your branch, not meant for master?

02d84c21b227 meson: prereq: win: remove date from version number in
win32ver.rc

do it

5c42b3e7812e meson: WIP: Add some of the windows resource files

What is the thinking on this now? What does this change over the
current state?

9bc60bccfd10 meson: Add support for relative rpaths, fixing tests on
MacOS w/ SIP

I suggest a separate thread and/or CF entry for this. There have been
various attempts to deal with SIP before, with varying results. This
is not part of the meson transition as such.

9f5be26c1215 meson: Add docs for building with meson

I do like the overall layout of this.

The "Supported Platforms" section should be moved back to near the end
of the chapter. I don't see a reason to move it forward, at least
none that is related to the meson issue.

The changes to the "Getting the Source" section are also not
appropriate for this patch.

In the section "Building and Installation with meson":

- Remove the "git clone" stuff.

- The "Running tests" section should be moved to Chapter 33. Regression
Tests.

Some copy-editing will probably be suitable, but I haven't focused on
that yet.

9c00d355d0e9 meson: Add PGXS compatibility

This looks like a reasonable direction to me. How complete is it? It
says it works for some extensions but not others. How do we define
the target line here?

3fd5e13dcad3 meson: Add postgresql-extension.pc for building extension
libraries

Separate thread for this as well. This is good and important, but we
must also add it to the make build.

4b5bfa1c19aa meson: Add LLVM bitcode emission

still in progress

eb40f6e53104 meson: Add support for building with precompiled headers

Any reason not to enable this by default? The benefits on non-Windows
appear to be less dramatic, but they are not zero. Might be better to
enable it consistently so that for example any breakage is easier
caught.

377bfdea6042 meson: Add xmllint/xsltproc wrapper script to handle
dependencies automatically

Is this part of the initial transition, required for correctness, or
is it an optional optimization? Could use more explanation. Maybe
move to separate thread also?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message torikoshia 2022-09-26 13:04:36 Re: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)
Previous Message James Coleman 2022-09-26 12:37:28 Re: Allow foreign keys to reference a superset of unique columns