From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-committers(at)lists(dot)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*. |
Date: | 2022-07-18 22:53:50 |
Message-ID: | 20220718225350.chv7urtdre4jnnqk@awork3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Hi,
On 2022-07-18 18:36:50 -0400, Tom Lane wrote:
> I wrote:
> > Andres Freund <andres(at)anarazel(dot)de> writes:
> >> Grepping for 'no warnings' shows that check_rules.pl has the same
> >> issue. Perhaps worth fixing at the same time, given how closely related they
> >> are?
>
> > Ah, I didn't think to look around. I'll see what I can do there.
>
> Oh, that one's only hiding *one* sloppy spot. However, while testing
> it I realized that the Makefile rule has two serious deficiencies:
>
> * check_rules.pl not listed as a prereq, so nothing happens if you
> change it and say "make".
>
> * check_rules.pl should be run first. As-is, if it complains,
> preproc.y has already been updated and so another run will succeed.
Good catches.
> You might wanna check your meson conversion for the same bugs.
Don't think it has. check_rules.pl and parse.pl are run by separate build
rules, with a stamp file marking the success of check_rules.pl. However, they
can currently run concurrently, with the preproc.c generation depending on
both.
I guess it'd be a tad cleaner if the dependency instead were to run
check_rules.pl before parse.pl, the degree of parallelism probably doesn't
matter here.
Both rules depend on the scripts.
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-07-18 23:13:28 | Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*. |
Previous Message | Tom Lane | 2022-07-18 22:36:50 | Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*. |