|From:||Andres Freund <andres(at)anarazel(dot)de>|
|To:||John Naylor <john(dot)naylor(at)enterprisedb(dot)com>|
|Subject:||Re: [RFC] building postgres with meson|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On 2021-10-12 15:55:22 -0400, John Naylor wrote:
> Also, could utility makefile targets be made to work? I'm thinking in
> particular of update-unicode and reformat-dat-files, for example.
Implementing reformat-dat-files was trivial:
However, update-unicode is a bit harder. Partially not directly because of
meson, but because update-unicode as-is afaict doesn't support VPATH builds,
and meson enforces those.
make -C src/common/unicode update-unicode
Can't open perl script "generate-unicode_norm_table.pl": No such file or directory
It's not too hard to fix. See attached for the minimal stuff that I
immediately found to be needed. There's likely more,
e.g. src/backend/utils/mb/Unicode - but I didn't immediately see where that's
The slightly bigger issue making update-unicode work with meson is that meson
doesn't provide support for invoking build targets in specific directories
(because it doesn't map nicely to e.g. msbuild). But scripts like
src/common/unicode/generate-unicode_norm_table.pl rely on CWD. It's not hard
to work around that, but IMO it's better for such scripts to not rely on CWD.
|Next Message||Bossart, Nathan||2021-10-21 22:23:20||Re: Fixing WAL instability in various TAP tests|
|Previous Message||Peter Geoghegan||2021-10-21 21:45:36||Re: Thinking about ANALYZE stats and autovacuum and large non-uniform tables|