Re: How to compile mesa for windows arm64 from x64 machine
Russell Liu <[email protected]> Sat, 26 Oct 2024 02:13:37 +0800
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------CXW7caE50WoOl84hiOsWLPxe Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sorry, I don't know. I just live on x86 Linux currently. On 10/26/24 1:08 AM, Mayank Jain wrote: > Hey Russel, > Yes, vendor has adreno gpu which provides the vulkan driver on arm > windows. > > Could you please add the relevant folks who can provide guidance🙏 > > Thank you, > Mayank > >> On 25 Oct 2024, at 9:11 PM, Shio Gin <[email protected]> wrote: >> >> >> I guess Jain want to use zink only. Maybe vendor provides the Vulkan >> driver on arm Windows. >> >> Maybe set CC to arm’s cl, sorry I have no experience about this. >> >> Russell >> >>> 在 2024年10月25日,14:16,Mayank Jain <[email protected]> >>> 写道: >>> >>> >>> 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 PM Matthew Barron >>> <[email protected]> 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 AM Mayank Jain >>> <[email protected]> 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=release >>> -Dgallium-drivers=zink --backend=vs >>> Open mesa.sln file on VS and compile - > SUCCESS >>> * >>> * >>> Thanks, >>> Mayank >>> --------------CXW7caE50WoOl84hiOsWLPxe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Sorry, I don't know. I just live on x86 Linux currently.<br> </p> <div class="moz-cite-prefix">On 10/26/24 1:08 AM, Mayank Jain wrote:<br> </div> <blockquote type="cite" cite="mid:[email protected]"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 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 class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a> wrote:<br> <br> </blockquote> </div> <blockquote type="cite"> <div dir="ltr"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 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 class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></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:[email protected]" moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</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:[email protected]" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</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> </body> </html> --------------CXW7caE50WoOl84hiOsWLPxe--