From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Christian Melki <christian.melki@t2data.com>
Cc: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>,
Philipp Zabel <p.zabel@pengutronix.de>
Subject: Re: [ptxdist] [PATCH] mesalib: select HOST_SYSTEM_PYTHON3_PYYAML
Date: Sun, 9 Feb 2025 15:11:49 +0100 [thread overview]
Message-ID: <Z6i3pYKFAFkOwDAH@pengutronix.de> (raw)
In-Reply-To: <7d4ea761-d6c2-41ec-b686-4680e483916b@t2data.com>
On Sat, Feb 08, 2025 at 07:01:27PM +0100, Christian Melki wrote:
> I think you might have the same issue in host-mesalib?
> Don't know if that one needs more work though.
I had a quick look and technically should probably add the dependency
there as well.
Strictly, what we compile probably does not need it, but there is an
unconditional check in meson for it.
Right now it will never fail. We don't build host-mesalib without mesalib,
so the option is enabled. And we don't build PyYAML ourselfs. It's just a
check in host-system-python3. So there is no ordering issue.
But that may change in the future, so adding the dependency is the right
thing to do here.
Michael
> On 2/7/25 4:44 PM, Philipp Zabel wrote:
> > PyYAML is required to build Mesa since 24.2.0, mesa commit ccc6442d6f05
> > ("u_format: Rewrite format table to use YAML").
> >
> > This issue was hidden before commit 1894396d091b ("host-system-python3:
> > use --system-site-packages only when needed") on build hosts that have
> > PyYAML installed system-wide.
> >
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> > rules/mesalib.in | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/rules/mesalib.in b/rules/mesalib.in
> > index ab83bbef70dd..83aab5f87c45 100644
> > --- a/rules/mesalib.in
> > +++ b/rules/mesalib.in
> > @@ -10,6 +10,7 @@ menuconfig MESALIB
> > select HOST_SYSTEM_PYTHON3
> > select HOST_SYSTEM_PYTHON3_MAKO
> > select HOST_SYSTEM_PYTHON3_PYCPARSER if MESALIB_DRI_ETNAVIV
> > + select HOST_SYSTEM_PYTHON3_PYYAML
> > select HOST_GLSLANG if MESALIB_VULKAN_AMD
> > select HOST_GLSLANG if MESALIB_VULKAN_INTEL
> > select HOST_GLSLANG if MESALIB_VULKAN_OVERLAY
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-02-09 14:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 15:44 Philipp Zabel
2025-02-08 18:01 ` Christian Melki
2025-02-09 14:11 ` Michael Olbrich [this message]
2025-02-10 9:15 ` Philipp Zabel
2025-02-14 9:02 ` [ptxdist] [APPLIED] " Michael Olbrich
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=Z6i3pYKFAFkOwDAH@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=christian.melki@t2data.com \
--cc=p.zabel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox