Re: How to compile mesa for windows arm64 from x64 machine
Mayank Jain <[email protected]> Fri, 25 Oct 2024 22:38:09 +0530
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-2F6F3632-B845-44EB-ADDF-11C95C84DD8E 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">Hey Russel,<div>Yes, vendor has adreno gpu w= hich provides the vulkan driver on arm windows.</div><div><br></div><div>Cou= ld you please add the relevant folks who can provide guidance=F0=9F=99=8F</d= iv><div><br><div><div dir=3D"ltr">Thank you,</div><div dir=3D"ltr">Mayank</d= iv><div dir=3D"ltr"><br><blockquote type=3D"cite">On 25 Oct 2024, at 9:11=E2= =80=AFPM, Shio Gin <[email protected]> wrote:<br><br></blockquote></= div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<meta http-equiv=3D"= content-type" content=3D"text/html; charset=3Dutf-8"><div dir=3D"ltr"><meta h= ttp-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8">I guess Ja= in want to use zink only. Maybe vendor provides the Vulkan driver on arm Win= dows.<div><br></div><div>Maybe set CC to arm=E2=80=99s cl, sorry I have no e= xperience about this.</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=8CMayank Jain <[email protected]> =E5=86=99= =E9=81=93=EF=BC=9A<br><br></blockquote></div><blockquote type=3D"cite"><div d= ir=3D"ltr">=EF=BB=BF<div dir=3D"ltr">Hey Matthew,<div>Yes. I am asking about= how to cross compile Mesa for ARM64 on an x64 host (Intel i7 laptop - x64 b= ased PC).</div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D= "ltr" class=3D"gmail_attr">On Thu, Oct 24, 2024 at 10:38=E2=80=AFPM Matthew B= arron <<a href=3D"mailto:[email protected]">[email protected]</a>>= wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D= "ltr">Clarification may be helpful. Are you asking about how to cross-compil= e Mesa for ARM64 on an AMD64 host? As others have warned that's likely to re= sult in a software renderer...<br></div><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Wed, Oct 23, 2024 at 6:39=E2=80=AFAM Maya= nk Jain <<a href=3D"mailto:[email protected]" target=3D"_blank"= >[email protected]</a>> wrote:<br></div><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2= 04,204);padding-left:1ex"><div dir=3D"ltr">Windows Build machine: <b>x64</b>= <div>Windows Host machine: <b>arm64</b></div><div><br></div><div><b>How to c= ompile mesa for arm64 from the build machine ? What are the steps ?</b></div= ><div><br></div><div><b>Background:</b></div><div>VS 2022 is used for compil= ation.</div><div><br></div><div>I am able to compile <b>x64 </b>mesa using b= elow commands:</div><div>Build LLVM for x64</div><div>Install other dep= endencies</div><div>Command to build x64 mesa</div><div><span dir=3D"ltr">me= son setup builddir/ -Dbuildtype=3Drelease -Dgallium-drivers=3Dzink --backend= =3Dvs</span></div><div><span dir=3D"ltr">Open mesa.sln file on VS and compil= e - > SUCCESS</span></div><div><span dir=3D"ltr"><strong><br></strong></s= pan></div><div><span dir=3D"ltr">Thanks,</span><br></div><div>Mayank</div></= div> </blockquote></div> </blockquote></div> </div></blockquote></div></div></div></blockquote></div></div></body></html>= --Apple-Mail-2F6F3632-B845-44EB-ADDF-11C95C84DD8E--