Re: [RFC] building postgres with meson - v13

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, samay sharma <smilingsamay(at)gmail(dot)com>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [RFC] building postgres with meson - v13
Date: 2022-09-15 21:14:20
Message-ID: CA+hUKGJsV2Ji6Ci6OL_-TrhGHORSX_cXHmuMKQbe9e_Oe_yMTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 15, 2022 at 2:26 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
> - noticed that libpgport.a had and needed a dependency on errcodes.h - that
> seemed wrong. The dependency is due to src/port/*p{read,write}v?.c including
> postgres.h - which seems wrong. So I added a patch changing them to include
> c.h.

Oops. +1

GCC 12 produces a bunch of warnings by default with meson, and that
turned out to be because the default optimisation level is -O3.
That's a change from the make build, which uses -O2. Should we set a
default of 2, or is there some meson-way-of-doing-things reason why
not?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-09-15 21:18:03 pgsql: Detect format-string mistakes in the libpq_pipeline test module.
Previous Message Andres Freund 2022-09-15 20:25:14 Re: Summary function for pg_buffercache