Re: How to compile mesa for windows arm64 from x64 machine
Matthew Barron <[email protected]> Thu, 24 Oct 2024 12:08:19 -0500
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAHaofrthgEx1O-rOv0uoBsOG2cFrHUp9gqmiPM1q0E5VE_ANaQ@mail.gmail.com> |
--0000000000002e1d0106253c0d05 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Clarification 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 software renderer... On Wed, Oct 23, 2024 at 6:39=E2=80=AFAM Mayank Jain <mayankjn.jain1993@gmai= l.com> wrote: > Windows Build machine: *x64* > Windows Host machine: *arm64* > > *How to compile mesa for arm64 from the build machine ? What are the step= s > ?* > > *Background:* > VS 2022 is used for compilation. > > I am able to compile *x64 *mesa using below commands: > Build LLVM for x64 > Install other dependencies > Command to build x64 mesa > meson setup builddir/ -Dbuildtype=3Drelease -Dgallium-drivers=3Dzink > --backend=3Dvs > Open mesa.sln file on VS and compile - > SUCCESS > > Thanks, > Mayank > --0000000000002e1d0106253c0d05 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Clarification may be helpful. Are you asking about how to = cross-compile Mesa for ARM64 on an AMD64 host? As others have warned that&#= 39;s likely to result in a software renderer...<br></div><br><div class=3D"= gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Oct 23, 2024 at = 6:39=E2=80=AFAM Mayank Jain <<a href=3D"mailto:[email protected]= om">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,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 compile 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 compilation.</div><div><br></div><div>I am able to compile <b>x64 </b>= mesa using below commands:</div><div>Build=C2=A0LLVM for x64</div><div>Inst= all other dependencies</div><div>Command to build x64 mesa</div><div><span = dir=3D"ltr">meson setup builddir/ -Dbuildtype=3Drelease -Dgallium-drivers= =3Dzink --backend=3Dvs</span></div><div><span dir=3D"ltr">Open mesa.sln fil= e on VS and compile - > SUCCESS</span></div><div><span dir=3D"ltr"><stro= ng><br></strong></span></div><div><span dir=3D"ltr">Thanks,</span><br></div= ><div>Mayank</div></div> </blockquote></div> --0000000000002e1d0106253c0d05--