[Python-checkins] bpo-36942 Windows build changes for Windows ARM64 (GH-13366)

Steve Dower webhook-mailer at python.org
Fri May 17 13:08:59 EDT 2019


https://github.com/python/cpython/commit/3ea702eca17c4ab5209d823fac2463307dde0633
commit: 3ea702eca17c4ab5209d823fac2463307dde0633
branch: master
author: Paul Monson <paulmon at users.noreply.github.com>
committer: Steve Dower <steve.dower at python.org>
date: 2019-05-17T10:08:55-07:00
summary:

bpo-36942 Windows build changes for Windows ARM64 (GH-13366)

files:
M PC/pyconfig.h

diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 6f8fda66237c..a74ee98a753d 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -122,6 +122,9 @@ WIN32 is still required for the locale module.
 #if defined(_M_X64) || defined(_M_AMD64)
 #if defined(__INTEL_COMPILER)
 #define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
+#elif defined(_M_ARM64)
+#define COMPILER _Py_PASTE_VERSION("64 bit (ARM)")
+#define PYD_PLATFORM_TAG "win_arm64"
 #else
 #define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
 #endif /* __INTEL_COMPILER */



More information about the Python-checkins mailing list