Re: meson: Add support for building with precompiled headers - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: meson: Add support for building with precompiled headers
Date
Msg-id 28e95b5f-9162-de57-c4da-a85b909bb9b0@enterprisedb.com
Whole thread Raw
In response to meson: Add support for building with precompiled headers  (Andres Freund <andres@anarazel.de>)
Responses Re: meson: Add support for building with precompiled headers  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 05.10.22 21:08, Andres Freund wrote:
> This is a patch split off from the initial meson thread [1] as it's
> functionally largely independent (as suggested in [2]).
> 
> Using precompiled headers substantially speeds up building for windows, due to
> the vast amount of headers included via windows.h. A cross build from
> linux targetting mingw goes from

These patches look ok to me.  I can't really comment on the Windows 
details, but it sounds all reasonable.

Small issue:

+override CFLAGS += -DFD_SETSIZE=1024

(and similar)

should be CPPFLAGS.




pgsql-hackers by date:

Previous
From: Stefan Keller
Date:
Subject: Re: Lambda expressions (was Re: BUG #15471)
Next
From: Michael Paquier
Date:
Subject: Re: Making pg_rewind faster