From: | Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(at)paquier(dot)xyz>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Speed up clean meson builds by ~25% |
Date: | 2024-04-17 14:51:49 |
Message-ID: | CAGECzQQ=usnyPw7zVzOVECA=57g9Qrav2_kJHui0gXOVV_mRnw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 17 Apr 2024 at 16:00, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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 | Content-Type | Size |
---|---|---|
v1-0001-Speed-up-clean-parallel-meson-builds-a-lot.patch | application/octet-stream | 3.2 KB |
trigger-confusing-build-error.diff | application/octet-stream | 353 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2024-04-17 15:03:55 | Re: pg_combinebackup does not detect missing files |
Previous Message | Peter Eisentraut | 2024-04-17 14:48:22 | ecpg_config.h symbol missing with meson |