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

Mayank Jain <[email protected]> Fri, 25 Oct 2024 11:45:52 +0530
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CALgwofbjWs65ouu8Wn4N6AU25UVT6cHf9C8-9ykJvpkAZKMx+Q@mail.gmail.com>
--000000000000cae5370625470d65
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hey Matthew,
Yes. I am asking about how to cross compile Mesa for ARM64 on an x64 host
(Intel i7 laptop - x64 based PC).


On Thu, Oct 24, 2024 at 10:38=E2=80=AFPM Matthew Barron <[email protected]=
m> wrote:

> 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@gm=
ail.com>
> wrote:
>
>> Windows Build machine: *x64*
>> Windows Host machine: *arm64*
>>
>> *How to compile mesa for arm64 from the build machine ? What are the
>> steps ?*
>>
>> *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
>>
>

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

<div dir=3D"ltr">Hey Matthew,<div>Yes. I am asking about how to cross compi=
le Mesa for ARM64 on an x64 host (Intel i7 laptop - x64 based PC).</div><di=
v><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 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;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Cla=
rification may be helpful. Are you asking about how to cross-compile Mesa f=
or ARM64 on an AMD64 host? As others have warned that&#39;s likely to resul=
t in a software renderer...<br></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr" class=3D"gmail_attr">On Wed, Oct 23, 2024 at 6:39=E2=80=AFAM Maya=
nk Jain &lt;<a href=3D"mailto:[email protected]" target=3D"_blank=
">[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(20=
4,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>Install =
other dependencies</div><div>Command to build x64 mesa</div><div><span dir=
=3D"ltr">meson setup builddir/ -Dbuildtype=3Drelease -Dgallium-drivers=3Dzi=
nk --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><b=
r></strong></span></div><div><span dir=3D"ltr">Thanks,</span><br></div><div=
>Mayank</div></div>
</blockquote></div>
</blockquote></div>

--000000000000cae5370625470d65--