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

From Jelte Fennema-Nio
Subject Re: Speed up clean meson builds by ~25%
Date
Msg-id CAGECzQQ=usnyPw7zVzOVECA=57g9Qrav2_kJHui0gXOVV_mRnw@mail.gmail.com
Whole thread Raw
In response to Re: Speed up clean meson builds by ~25%  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Speed up clean meson builds by ~25%
List pgsql-hackers
On Wed, 17 Apr 2024 at 16:00, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Break gram.y (say, misspell some token in a production) and
> see what happens.  The behavior's likely to be timing sensitive
> though.

Thanks for clarifying. It took me a little while to break gram.y in
such a way that I was able to consistently reproduce, but I managed in
the end using the attached small diff.
And then running ninja in non-parallel mode:

ninja -C build all -j1

As I expected this problem was indeed fairly easy to address by still
building "backend/parser" before "interfaces". See attached patch.

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: ecpg_config.h symbol missing with meson
Next
From: Robert Haas
Date:
Subject: Re: pg_combinebackup does not detect missing files