Re: graphics/mesa-dri build fail with intel-rt activated on aarch64

Nuno Teixeira <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CAFDf7UK+9sZXYNr=iLBkkHhpTV31a4sp7MGEiz8D7X3gAggQtA@mail.gmail.com>
Hi,

Thank you!

Cheers,

Emmanuel Vadot <[email protected]> escreveu (sexta, 23/08/2024 à(s)
15:05):

>
>  Hi,
>
> On Fri, 23 Aug 2024 08:10:10 +0100
> Nuno Teixeira <[email protected]> wrote:
>
> > Hello,
> >
> > Could anyone try to build graphics/mesa-dri so I can check why is it
> > failing on configure?
> >
> > Acording to
> > e313acaea33b - main - graphics/mesa: Unbreak on !amd64 commit it should
> > disable intel-rt on !amd64:
> >
> > + anv_MESON_ON=  ${"${ARCH:Mamd64}":?:-Dintel-rt=disabled} #
> > https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
> >
> > But I only could build it if I add '-Dintel-rt=disabled' to MESON_ARGS
> > directly.
> >
> > Maybe something is not parsed correcly and it isn't geting disabled on
> > aarch64 (rpi4).
> >
> > I'm suspecting that an if condition will be needed like applied to other
> > mesa ports:
> >
> > +.if ${ARCH} != amd64
> > +MESON_ARGS+=   -Dintel-rt=disabled #
> https://gitlab.freedesktop.org/mesa/
> > mesa/-/issues/10629
> > +.endif
> >
> > Thanks,
> >
> > --
> > Nuno Teixeira
> > FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
>
>  This is now fixed, the problem was that since anv is exluded on
> aarch64 the anv_MESON_ON was never appended to MESON_ARGS.
>
>  Thanks for the report.
>
> --
> Emmanuel Vadot <[email protected]> <[email protected]>
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.