arm64 support on Windows
It looks like currently only x64 and x86 architectures are supported on Windows.
With ARM Windows gaining more widespread adoption (I am actually running Windows 11 ARM in a VM on a MacBook Pro), support for arm64 architecture would be great.
Definitely feels like a reasonable feature to add. Are you specifically requesting the ability to build Premake binaries for ARM/ARM64 for Windows, or are you looking for support in the exporters/toolsets (or both).
The former - I wanted to try a library whose build system was based on Premake, and found that there was no premake5.exe for ARM Windows, so I couldn't use that library.
There is a runner for windows-arm now to add to the CI, see standard-github-hosted-runners-for-public-repositories
Greetings,
I am reaching out on behalf of the conan-io organization. We are working to ensure first-class support for Premake within Conan. However, we have encountered an issue when using the vsXXXX actions: the ARM and ARM64 architectures are not supported.
Currently, when we specify arm64, the generated solution includes the following configurations:
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
Instead, it should correctly include:
Debug|ARM64 = Debug|ARM64
Release|ARM64 = Release|ARM64
Could you please look into this issue?
Thank you in advance for your assistance!
I tried building Premake on Windows on Arm via the github runner image tagged windows-11-arm but for now, it doesn't work. The bootstrap build needs adjusting, it starts up the dev command prompt as x64 and shifts to ARM64 midway through even though I have provided PLATFORM=ARM64 as the environment variable. But also, Microsoft's images have a corrupt VS install that gives this error:
NMAKE : fatal error U1077: 'devenv .\build\bootstrap\Premake5.sln /Upgrade' : return code '0x1'
Stop.
Invalid license data. Repair Visual Studio from the Control Panel.The system cannot find the path specified.