All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Steinhardt <ps@pks.im>
To: Junio C Hamano <gitster@pobox.com>
Cc: "Carlo Marcelo Arenas Belón" <carenas@gmail.com>,
	git@vger.kernel.org, sandals@crustytoothpaste.net,
	"Eric Sunshine" <sunshine@sunshineco.com>,
	"Eli Schwartz" <eschwartz@gentoo.org>
Subject: Re: [PATCH v6] meson: work around broken system PCRE2 dependency in macOS
Date: Thu, 24 Jul 2025 07:28:29 +0200	[thread overview]
Message-ID: <aIHENdrLu7vtShov@pks.im> (raw)
In-Reply-To: <xmqq8qkelfgo.fsf@gitster.g>

On Wed, Jul 23, 2025 at 03:17:27PM -0700, Junio C Hamano wrote:
> Carlo Marcelo Arenas Belón <carenas@gmail.com> writes:
> 
> > macOS provides a PCRE2 library in base that is not usable and not
> > configured properly, as it installs a pkgconf module that
> > points to a non-existent pcre2.h header in /usr/local/include.
> >
> > Detect that case and if the feature is enabled, try to fallback
> > to a wrapped subproject through an anonymous dependency, aborting
> > with an error if that is not possible.
> >
> > Change the feature to "auto" and print a warning and disable it
> > if a broken dependency was detected, but to keep consistency
> > with the cmake build system used on Windows, add a special rule
> > to re-enable the pcre2 feature by default there.
> >
> > Helped-by: Eric Sunshine <sunshine@sunshineco.com>
> > Suggested-by: Eli Schwartz <eschwartz@gentoo.org>
> > Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
> > ---
> >  meson.build       | 28 +++++++++++++++++++++++++++-
> >  meson_options.txt |  2 +-
> >  2 files changed, 28 insertions(+), 2 deletions(-)
> 
> The thread went silent after this iteration.
> 
> I _think_ it incorporates all the good suggestions offered during
> the discussion on the previous iterations, but is everybody happy
> with this version?  If so, let me mark the topic for 'next'.
> 
> Thanks, all.

I think this version is fine. Thanks!

Patrick

      reply	other threads:[~2025-07-24  5:28 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-12 17:26 [PATCH] meson: disable PCRE2 dependency by default Carlo Marcelo Arenas Belón
2025-07-12 17:51 ` brian m. carlson
2025-07-14 14:00   ` Carlo Arenas
2025-07-14 15:20     ` Junio C Hamano
2025-07-14 16:46       ` Carlo Marcelo Arenas Belón
2025-07-14 16:58         ` Junio C Hamano
2025-07-13 12:23 ` [PATCH v2] meson: disable PCRE2 dependency by default in macOS Carlo Marcelo Arenas Belón
2025-07-13 15:42   ` Junio C Hamano
2025-07-13 17:48   ` [PATCH v3] " Carlo Marcelo Arenas Belón
2025-07-15  1:55     ` Eli Schwartz
2025-07-15  8:46       ` Patrick Steinhardt
2025-07-15  8:56         ` Carlo Arenas
2025-07-15 10:32           ` Patrick Steinhardt
2025-07-15 12:08             ` Carlo Arenas
2025-07-15 14:14               ` Eli Schwartz
2025-07-15 12:01       ` Carlo Arenas
2025-07-15 14:22         ` Eli Schwartz
2025-07-15 11:44     ` [PATCH v4] meson: woraround broken system PCRE2 dependency " Carlo Marcelo Arenas Belón
2025-07-15 16:48       ` Junio C Hamano
2025-07-15 16:50       ` Eric Sunshine
2025-07-16 19:30       ` [PATCH v5] meson: work around " Carlo Marcelo Arenas Belón
2025-07-16 21:13         ` Junio C Hamano
2025-07-16 21:17           ` Junio C Hamano
2025-07-16 22:10         ` Eli Schwartz
2025-07-16 22:17           ` Carlo Arenas
2025-07-18 17:02         ` [PATCH v6] " Carlo Marcelo Arenas Belón
2025-07-23 22:17           ` Junio C Hamano
2025-07-24  5:28             ` Patrick Steinhardt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aIHENdrLu7vtShov@pks.im \
    --to=ps@pks.im \
    --cc=carenas@gmail.com \
    --cc=eschwartz@gentoo.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=sandals@crustytoothpaste.net \
    --cc=sunshine@sunshineco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.