Skip to content

ARM64 version #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
craigloewen-msft opened this issue Mar 4, 2025 · 16 comments · Fixed by #375
Closed

ARM64 version #371

craigloewen-msft opened this issue Mar 4, 2025 · 16 comments · Fixed by #375

Comments

@craigloewen-msft
Copy link

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.

Is it possible to add a dedicated ARM64 version of gVim for Windows?

Describe the solution you'd like

An arm64 architecture version of gVim for Windows to be shipped.

Describe alternatives you've considered

Right now gVim for Windows works on ARM but it's emulated. It would be great to get a native version.

Additional context

None.

@chrisbra
Copy link
Member

chrisbra commented Mar 4, 2025

It seems there is no Windows ARM64 image support available yet at Appveyor. And even it there was, it may take some time to tweak the build process. I don't have a machine to test this out.

@crutkas
Copy link

crutkas commented Mar 7, 2025

@chrisbra can you reach out to Craig and myself about that 2nd problem? clint.rutkas@microsoft.com; Craig.Loewen@microsoft.com

@crutkas
Copy link

crutkas commented Mar 17, 2025

@chrisbra happy to send a device to you for testing.

For Appveyor Arm64, is this needed for unit tests or for building? Looks like it could do an Azure image which does have Windows on Arm. https://www.appveyor.com/docs/server/running-builds-on-azure/

@chrisbra
Copy link
Member

I did reach out to the mentioned two email addresses

@craigloewen-msft
Copy link
Author

Hi @chrisbra we didn't end up receiving that mail, could you send it again? Maybe try: crloewen@microsoft.com

@chrisbra
Copy link
Member

Tried again from my usual address (you can check the git commits). You should have received it. Thanks

@crutkas
Copy link

crutkas commented Mar 23, 2025

Got it and responding now

@compnerd
Copy link

GHA has windows ARM64 runners at this point, would that potentially help? I've also managed to get vim itself to build using cross-compilation for ARM64. The piece that is a challenge is the installer (my experience there is limited to WiX rather than NSIS based installers).

@crutkas
Copy link

crutkas commented May 1, 2025

@chrisbra thoughts on how GitHub actions could help here

@chrisbra
Copy link
Member

haven't looked at it. Currently trying to make Vim building work. I build one Vim locally here: https://github.com/vim/vim-win32-installer/releases/tag/v9.1.1385
It does not contain Ruby and MZScheme interface (I couldn't get that to compile natively) and the Gettext libraries are still amd64 ones. But it includes an arm version of libsodium.

@khmyznikov
Copy link

@chrisbra I want to try to help investigating the GH actions adoption for vim build, could you share the instruction how you build the arm version locally?

@chrisbra
Copy link
Member

I am in the process of making a PR here that will make appveybor.bat work correctly with ARM. Shouldn't take that long. Once this is done, I'll check out what possibilities we have to run this on github ARM runners to automate it.

@khmyznikov
Copy link

@chrisbra let me know how you build it locally, I can help with runners.

@chrisbra
Copy link
Member

chrisbra commented May 20, 2025

it's mostly working now: https://github.com/chrisbra/vim-win32-installer/blob/refactor/.github/workflows/windows-arm-build.yml

I still need to verify that the build is all complete but should be almost done. PR is here: #375

chrisbra added a commit that referenced this issue May 22, 2025
Refactor and build Windows Arm64 versions

closes: #371
@khmyznikov
Copy link

@chrisbra I've checked the installer from your artifacts
Noticed minor issue about the version naming. It tells it's x64 but runs as Arm64:
Image
Image
Image
Image

@crutkas
Copy link

crutkas commented May 29, 2025

@khmyznikov created a new issue for this so it can get tracked correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants