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

Salvador LiĆ©bana <[email protected]> Thu, 24 Oct 2024 11:16:36 -0300
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CANLE0-t=QgFBaYg1mE4MRicz5Vuc2aEnx=jqWHVa=iGxre15Ow@mail.gmail.com>
--000000000000255d31062539a796
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

AFAIK, mesa on windows only does software rendering (cpu)

El jue, 24 de oct. de 2024 06:25, Mayank Jain <[email protected]>
escribi=C3=B3:

> Not sure what you mean by that. Could you elaborate ?
>
> On Wed, Oct 23, 2024 at 6:27=E2=80=AFPM Salvador Li=C3=A9bana <salva.lieb=
[email protected]>
> wrote:
>
>> So, you are going to build the software render
>>
>> El mi=C3=A9, 23 de oct. de 2024 08:48, Mayank Jain <
>> [email protected]> escribi=C3=B3:
>>
>>> 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
>>>
>>

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

<p dir=3D"ltr">AFAIK, mesa on windows only does software rendering (cpu)</p=
>
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">El jue=
, 24 de oct. de 2024 06:25, Mayank Jain &lt;<a href=3D"mailto:mayankjn.jain=
[email protected]">[email protected]</a>&gt; escribi=C3=B3:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Not sure what you mean by =
that. Could you elaborate=C2=A0?</div><br><div class=3D"gmail_quote"><div d=
ir=3D"ltr" class=3D"gmail_attr">On Wed, Oct 23, 2024 at 6:27=E2=80=AFPM Sal=
vador Li=C3=A9bana &lt;<a href=3D"mailto:[email protected]" target=3D=
"_blank" rel=3D"noreferrer">[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"><p dir=3D"ltr">So, you a=
re going to build the software render</p>
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">El mi=
=C3=A9, 23 de oct. de 2024 08:48, Mayank Jain &lt;<a href=3D"mailto:mayankj=
[email protected]" target=3D"_blank" rel=3D"noreferrer">mayankjn.jain199=
[email protected]</a>&gt; escribi=C3=B3:<br></div><blockquote class=3D"gmail_quot=
e" 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>W=
indows Host machine: <b>arm64</b></div><div><br></div><div><b>How to compil=
e mesa for arm64 from the build machine ? What are the steps ?</b></div><di=
v><br></div><div><b>Background:</b></div><div>VS 2022 is used for compilati=
on.</div><div><br></div><div>I am able to compile <b>x64 </b>mesa using bel=
ow commands:</div><div>Build=C2=A0LLVM for x64</div><div>Install other depe=
ndencies</div><div>Command to build x64 mesa</div><div><span dir=3D"ltr">me=
son setup builddir/ -Dbuildtype=3Drelease -Dgallium-drivers=3Dzink --backen=
d=3Dvs</span></div><div><span dir=3D"ltr">Open mesa.sln file on VS and comp=
ile - &gt; SUCCESS</span></div><div><span dir=3D"ltr"><strong><br></strong>=
</span></div><div><span dir=3D"ltr">Thanks,</span><br></div><div>Mayank</di=
v></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--000000000000255d31062539a796--