From: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
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:50:27 |
Message-ID: | CAN55FZ1QyDM48aaRLyd4PFoDTUgavzPJPNJbgynyTLPN_Qy1qA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Thank you for looking into this!
On Thu, 3 Jul 2025 at 16:21, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
> > 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.
I feel the same.
>
> + # 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?
I agree that MESON_NON_VS_FEATURES is not intuitive but can MinGW be
considered as LINUX or UNIX?
>
> # 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?
Auto features are already disabled. So, there is no need to disable
nls manually. By saying that, it would be better to remove this
comment now.
--
Regards,
Nazir Bilal Yavuz
Microsoft
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Fan | 2025-07-03 14:04:22 | Re: Parallelize correlated subqueries that execute within each worker |
Previous Message | Ashutosh Bapat | 2025-07-03 13:37:36 | Re: Using failover slots for PG-non_PG logical replication |