How to compile mesa for windows arm64 from x64 machine
Mayank Jain
mayankjn.jain1993 at gmail.com
Wed Nov 6 06:40:39 UTC 2024
In case someone else is trying the same.
The cross compilation still doesn't work so I natively built mesa on
Windows on ARM device and the ARM64 build is successful.
On Fri, Oct 25, 2024 at 11:43 PM Russell Liu <ginshio78 at gmail.com> wrote:
> 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 <ginshio78 at gmail.com>
> <ginshio78 at gmail.com> 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 <mayankjn.jain1993 at gmail.com>
> <mayankjn.jain1993 at gmail.com> 写道:
>
>
> 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 <freontrip at gmail.com>
> 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 <mayankjn.jain1993 at gmail.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=release -Dgallium-drivers=zink
>>> --backend=vs
>>> Open mesa.sln file on VS and compile - > SUCCESS
>>>
>>> Thanks,
>>> Mayank
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20241106/b186a057/attachment.htm>
More information about the mesa-users
mailing list