From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
Subject: | Re: Explicitly enable meson features in CI |
Date: | 2025-07-03 13:21:33 |
Message-ID: | 7D06FF46-FB85-4221-B13B-A2C27A5D2E0C@yesql.se |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> On 3 Jul 2025, at 09:27, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
> On Wed, 2 Jul 2025 at 14:33, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>> Here is a sketch of what I mean:
>>
>> env:
>> ...
>> PG_TEST_EXTRA: ...
>> MESON_COMMON_ARGS: -Dauto_features=disabled -Ddocs=enabled ...
>> CONFIGURE_COMMON_ARGS: --with-gssapi --with-icu --with-ldap ...
>
> I agree that this repetition does not look good but my idea was to be
> able to see which features are enabled at one glance. I tried to apply
> grouping in v2:
FWIW, I didn't mind the repetition in v1 but I won't argue against the current
approach either.
+ # Like 'MESON_COMMON_FEATURES' but not shared with 'Windows - VS' task too
+ MESON_NON_VS_FEATURES: >-
I'm not a fan of this name, it feel a bit unintuitive to describe what it isn't
instead of what it is. How about MESON_LINUX_UNIX_FEATURES or something along
those lines?
# disable -Dnls as the number of files it creates cause a noticable slowdown
configure_script: |
- %BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Dinjection_points=true -Db_pch=true -Dnls=disabled -DTAR=%TAR
% build"
+ %BASH% -c "meson setup %MESON_COMMON_PG_CONFIG_ARGS% -Ddebug=true -Doptimization=g -Db_pch=true %MESON_COMMON_NON_VS_FEATURES% -D
TAR=%TAR% build"
The MinGW build no longer disables nls, or am I missing something?
--
Daniel Gustafsson
From | Date | Subject | |
---|---|---|---|
Next Message | torikoshia | 2025-07-03 13:30:34 | Re: Improve tab completion for COPY |
Previous Message | Anthonin Bonnefoy | 2025-07-03 12:57:25 | Re: Don't keep closed WAL segment in page cache after replay |