<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">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>