Re: How to compile mesa for windows arm64 from x64 machine

Shio Gin <[email protected]> Fri, 25 Oct 2024 23:41:39 +0800
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
--Apple-Mail-28152BD9-5047-496E-B22B-75FDE4E33C47
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"><meta http-equiv=3D"conten=
t-type" content=3D"text/html; charset=3Dutf-8">I guess Jain want to use zink=
 only. Maybe vendor provides the Vulkan driver on arm Windows.<div><br></div=
><div>Maybe set CC to arm=E2=80=99s cl, sorry I have no experience about thi=
s.</div><div><br></div><div>Russell<br><div dir=3D"ltr"><br><blockquote type=
=3D"cite">=E5=9C=A8 2024=E5=B9=B410=E6=9C=8825=E6=97=A5=EF=BC=8C14:16=EF=BC=8C=
Mayank Jain &lt;[email protected]&gt; =E5=86=99=E9=81=93=EF=BC=9A<=
br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF=
<div dir=3D"ltr">Hey Matthew,<div>Yes. I am asking about how to cross compil=
e Mesa for ARM64 on an x64 host (Intel i7 laptop - x64 based PC).</div><div>=
<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Thu, Oct 24, 2024 at 10:38=E2=80=AFPM Matthew Barron &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Clarificat=
ion may be helpful. Are you asking about how to cross-compile Mesa for ARM64=
 on an AMD64 host? As others have warned that's likely to result in a softwa=
re renderer...<br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas=
s=3D"gmail_attr">On Wed, Oct 23, 2024 at 6:39=E2=80=AFAM Mayank Jain &lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">mayankjn.jain19=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-=
left:1ex"><div dir=3D"ltr">Windows Build machine: <b>x64</b><div>Windows Hos=
t machine: <b>arm64</b></div><div><br></div><div><b>How to compile mesa for a=
rm64 from the build machine ? What are the steps ?</b></div><div><br></div><=
div><b>Background:</b></div><div>VS 2022 is used for compilation.</div><div>=
<br></div><div>I am able to compile <b>x64 </b>mesa using below commands:</d=
iv><div>Build&nbsp;LLVM for x64</div><div>Install other dependencies</div><d=
iv>Command to build x64 mesa</div><div><span dir=3D"ltr">meson setup builddi=
r/ -Dbuildtype=3Drelease -Dgallium-drivers=3Dzink --backend=3Dvs</span></div=
><div><span dir=3D"ltr">Open mesa.sln file on VS and compile - &gt; SUCCESS<=
/span></div><div><span dir=3D"ltr"><strong><br></strong></span></div><div><s=
pan dir=3D"ltr">Thanks,</span><br></div><div>Mayank</div></div>
</blockquote></div>
</blockquote></div>
</div></blockquote></div></div></body></html>=

--Apple-Mail-28152BD9-5047-496E-B22B-75FDE4E33C47--