Re: Speed up clean meson builds by ~25% - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Speed up clean meson builds by ~25%
Date
Msg-id 3940996.1712725389@sss.pgh.pa.us
Whole thread Raw
In response to Re: Speed up clean meson builds by ~25%  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: Speed up clean meson builds by ~25%
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> On Wed, Apr 10, 2024 at 11:44 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ... On my Mac laptop
>> (Apple clang version 15.0.0), the compile time for preproc.o went from
>> 6.7sec to 5.5sec.

> Having seen multi-minute compile times on FreeBSD (where clang is the
> system compiler) and Debian (where I get packages from apt.llvm.org),
> I have been quietly waiting for this issue to hit Mac users too (where
> a clang with unknown proprietary changes is the system compiler), but
> it never did.  Huh.

I don't doubt that there are other clang versions where the problem
bites a lot harder.  What result do you get from the test I tried
(turning mm_strdup into a no-op macro)?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Speed up clean meson builds by ~25%
Next
From: David Rowley
Date:
Subject: Re: Incorrect handling of IS [NOT] NULL quals on inheritance parents