Description
There's been a discussion about Windows ARM64 support here: #3021
I made a discussion comment there to keep track of the outstanding tasks to get basic ARM64 support to Git for Windows. However, @Alovchin91 informed me via Twitter that it was hard to keep track of the progress that way, requesting a dedicated issue. So here it is 😊
Open tasks for basic ARM64 support:
- ✔️ Enable compiling Git for Windows (git.exe etc.) natively for arm64 Windows arm64 support #2915 (comment)
- ✔️ Fix double .exe suffix in CMake generated build Fix double .exe suffixes in CMakeLists.txt #2966
- ✔️ Include vcpkg DLLs in CMake build cmake(install): include vcpkg dlls #2971
- ✔️ Add ARM64 to
/etc/profile
added MSYSTEM=ARM64 case in /etc/profile git-sdk-32#6 - ✔️ Update
/etc/profile
ingit-extra.install.in
Start support for MSYSTEM=ARM64 build-extra#321 - ✔️ Modify
git-wrapper
inmingw32
to use the nativegit.exe
, setMSYSTEM=ARM64
, etc. Add arm64 support to git-wrapper MINGW-packages#44 - ✔️ Create portable version of ARM64 Git for Windows portable: add arm64 artifact option build-extra#323
- ✔️ Create MinGit package for ARM64 Git for Windows mingit: add arm64 artifact option build-extra#324
- ✔️ Create archive package for ARM64 Git for Windows archive: add arm64 artifact option build-extra#325
- ✔️ Create an installer for ARM64 installer: add arm64 artifact option build-extra#326
- ✔️ Add ARM64 artifacts to CI git-artifacts: add ARM64 artifacts #3017
- ✔️ Update Inno Setup installer in preparation for installing Git for Windows ARM64 to the 64-bit Program Files folder installer: Update Inno Setup from 5.6.1 to 6.1.2 build-extra#330
- ✔️ Create logic for ARM64 in Inno Setup installer, so that Git will be installed in the 64-bit Program Files folder installer: add 64-bit support for ARM64 build-extra#333
- ✔️ Fix Git Credential Manager Core (necessary for
git push
etc.) by referencing it from themingw32
directory Git Credential Manager Core missing in ARM64 libexec folder #3015 - ✔️ Decrease the size of the ARM64 artifacts significantly Assorted fixes/enhancements for the
git-artifacts
workflow #3053 - ✔️ Fix issue where system-wide gitconfig can't be read ARM64: cannot read/write system gitconfig #3071
- ✔️ Fix bug where
cmd\git.exe
is crashing whenarm64/bin
folder is present cmd\git.exe crashing when ARM64 folder is present in Git installation (git-wrapper) #3083 - ✔️ Fix issue with Git Credential Manager Core on ARM64 git-artifacts: Update ARM64 GCM Core workaround #3085
- ❓ Update Azure DevOps pipeline?
- ✔️ Update the daily "Git for Windows update check" for ARM64: git update-git-for-windows: download ARM64 Git for Windows if applicable build-extra#340
- ✔️
git --version --build-options
returnsAMD64
as the CPU cmake(): allow setting HOST_CPU for cross-compilation #3327 - Visual C++ for ARM64 needs to be installed, due to us using MSVC for the ARM64 builds. We can either include that in the installer or statically build (if possible)
- Documentation using
--help
(example:git log --help
) doesn't work since Git looks for docs in the wrong location
Thanks to the changes that we did in the last few days, there's now a fully working build of Git for Windows ARM64.
Test build for ARM64 users, built on March 12, 2021: https://github.com/dennisameling/git/releases/tag/v2.31.0-rc2.windows.2
I think we're pretty much ready to publish a beta version of Git for Windows ARM64! @dscho what do you think? Please let me know if I missed something in the list above.