<div dir="ltr">In case someone else is trying the same.<div>The cross compilation still doesn't work so I natively built mesa on Windows on ARM device and the ARM64 build is successful.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 25, 2024 at 11:43 PM Russell Liu <<a href="mailto:ginshio78@gmail.com">ginshio78@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p>Sorry, I don't know. I just live on x86 Linux currently.<br>
</p>
<div>On 10/26/24 1:08 AM, Mayank Jain wrote:<br>
</div>
<blockquote type="cite">
Hey Russel,
<div>Yes, vendor has adreno gpu which provides the vulkan driver
on arm windows.</div>
<div><br>
</div>
<div>Could you please add the relevant folks who can provide
guidance🙏</div>
<div><br>
<div>
<div dir="ltr">Thank you,</div>
<div dir="ltr">Mayank</div>
<div dir="ltr"><br>
<blockquote type="cite">On 25 Oct 2024, at 9:11 PM, Shio Gin
<a href="mailto:ginshio78@gmail.com" target="_blank"><ginshio78@gmail.com></a> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
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’s cl, sorry I have no
experience about this.</div>
<div><br>
</div>
<div>Russell<br>
<div dir="ltr"><br>
<blockquote type="cite">在 2024年10月25日,14:16,Mayank
Jain <a href="mailto:mayankjn.jain1993@gmail.com" target="_blank"><mayankjn.jain1993@gmail.com></a> 写道:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Hey Matthew,
<div>Yes. I am asking about how to cross compile
Mesa for ARM64 on an x64 host (Intel i7 laptop
- x64 based PC).</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct
24, 2024 at 10:38 PM Matthew Barron <<a href="mailto:freontrip@gmail.com" target="_blank">freontrip@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="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's likely to result in a
software renderer...<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed,
Oct 23, 2024 at 6:39 AM Mayank Jain <<a href="mailto:mayankjn.jain1993@gmail.com" target="_blank">mayankjn.jain1993@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="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 LLVM for x64</div>
<div>Install other dependencies</div>
<div>Command to build x64 mesa</div>
<div><span dir="ltr">meson setup
builddir/ -Dbuildtype=release
-Dgallium-drivers=zink --backend=vs</span></div>
<div><span dir="ltr">Open mesa.sln file
on VS and compile - > SUCCESS</span></div>
<div><span dir="ltr"><strong><br>
</strong></span></div>
<div><span dir="ltr">Thanks,</span><br>
</div>
<div>Mayank</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote></div>