[PATCH v2 4/6] msvc: do handle builds on Windows/ARM64
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Apr 23, 2025, 08:01 UTC
- Message-ID
- <c89ead8eaba7f824d6a4828964f8384f60b17101.1745395308.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1904.v2.git.1745395308.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
Git for Windows/ARM64 settled on using `clang` to compile `git.exe`, and hence needs to run in a system where `MSYSTEM` is set to `CLANGARM64` and the prefix to use is `/clangarm64`.
We already did that in the `MINGW` arm, i.e. for regular Git for Windows builds using MINGW GCC (or `clang`'s shim pretending to be GCC), now it is time to do the same in the MS Visual C part.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- config.mak.uname | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config.mak.uname b/config.mak.uname index 6222d2c5a48..bd94f458088 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -432,7 +432,11 @@ ifeq ($(uname_S),Windows) ifeq (MINGW32,$(MSYSTEM)) prefix = /mingw32 else - prefix = /mingw64 + ifeq (CLANGARM64,$(MSYSTEM)) + prefix = /clangarm64 + else + prefix = /mingw64 + endif endif # Prepend MSVC 64-bit tool-chain to PATH. #
-- gitgitgadget