Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2024 08:10:10 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD ARM List <freebsd-arm@freebsd.org>, Emmanuel Vadot <manu@freebsd.org>
Subject:   graphics/mesa-dri build fail with intel-rt activated on aarch64
Message-ID:  <CAFDf7ULS=75rMsHib958fHakt8ZFyccrDvoftv1YZWgGTL95vg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000e779070620547729
Content-Type: text/plain; charset="UTF-8"

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:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--000000000000e779070620547729
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>Could anyone try to b=
uild graphics/mesa-dri so I can check why is it failing on configure?</div>=
<div><br></div><div>Acording to=C2=A0<br>e313acaea33b - main - graphics/mes=
a: Unbreak on !amd64 commit it should disable intel-rt on !amd64:</div><div=
><br></div><div>+ anv_MESON_ON=3D=C2=A0 ${&quot;${ARCH:Mamd64}&quot;:?:-Din=
tel-rt=3Ddisabled} # <a href=3D"https://gitlab.freedesktop.org/mesa/mesa/-/=
issues/10629">https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629</a></=
div><div><br></div><div>But I only could build it if I add &#39;-Dintel-rt=
=3Ddisabled&#39; to MESON_ARGS directly.</div><div><br></div><div>Maybe som=
ething is not parsed correcly and it isn&#39;t geting disabled on aarch64 (=
rpi4).</div><div><br></div><div>I&#39;m suspecting that an if condition wil=
l be needed like applied to other mesa ports:</div><div><br></div><div>+.if=
 ${ARCH} !=3D amd64<br>
+MESON_ARGS+=3D=C2=A0 =C2=A0-Dintel-rt=3Ddisabled # <a href=3D"https://gitl=
ab.freedesktop.org/mesa/mesa/-/issues/10629" rel=3D"noreferrer" target=3D"_=
blank">https://gitlab.freedesktop.org/<span class=3D"gmail-il">mesa</span>/=
<span class=3D"gmail-il">mesa</span>/-/issues/10629</a><br>
+.endif</div><div><br></div><div>Thanks,<br></div><div><br><span class=3D"g=
mail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signat=
ure" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><font color=
=3D"#888888">Nuno Teixeira</font></div><div><div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div></div></div>

--000000000000e779070620547729--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7ULS=75rMsHib958fHakt8ZFyccrDvoftv1YZWgGTL95vg>