Fixed build for com and comext on Windows 10 ARM64#1617
Fixed build for com and comext on Windows 10 ARM64#1617ader1990 wants to merge 2 commits intomhammond:masterfrom
Conversation
Updated MAPI headers and stub libraries with ifdefs for ARM64.
Updated univgw data conversion with ifdefs for ARM64.
|
These two commits do no interfere with the build process on other architectures. The Python distutils have to be tweaked in order for the build to succeed, as the Visual Studio build tools for ARM64 are special in the sense that the cc.exe, ld.exe, etc, are 32 bit x86 binaries that execute emulated on Windows 10 ARM64. Windows on ARM has builtin emulation for 32 bit x86 (maybe x64 emulation will be added soon). A fully-fledged example of how to install pywin32 and use it as a dependency for cloudbase-init can be found here: Python version that are supported: 3.8 or higher. Thank you, |
|
Thanks for the PR - do you have plans on updating it as you describe and to fix the CI failures? |
|
I'd still welcome a patch that fixes mapi building, but closing this to keep the list clean. |
Updated the MAPI headers and univgw data conversion with ifdefs for ARM64
.
Visual Studio 2017 or 2019 are required for _M_ARM64 variable to be present. See:
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160
This is the first patch in the series to add support for building pywin32 on ARM64.