summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/_msvccompiler.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-12 17:44:29 (GMT)
committerGitHub <noreply@github.com>2019-06-12 17:44:29 (GMT)
commitbb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25 (patch)
tree2bba58c0f52c6fa279307666c5cbd7dac4113907 /Lib/distutils/_msvccompiler.py
parentc9ca96dd968176580a011e852066c95a48aab7e0 (diff)
downloadcpython-bb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25.zip
cpython-bb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25.tar.gz
cpython-bb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25.tar.bz2
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
(cherry picked from commit daf62627518ad97ce66a48c49496aa0573cf0731) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
Diffstat (limited to 'Lib/distutils/_msvccompiler.py')
-rw-r--r--Lib/distutils/_msvccompiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/_msvccompiler.py b/Lib/distutils/_msvccompiler.py
index c7ac3f0..6e14f33 100644
--- a/Lib/distutils/_msvccompiler.py
+++ b/Lib/distutils/_msvccompiler.py
@@ -93,6 +93,7 @@ PLAT_SPEC_TO_RUNTIME = {
'x86' : 'x86',
'x86_amd64' : 'x64',
'x86_arm' : 'arm',
+ 'x86_arm64' : 'arm64'
}
def _find_vcvarsall(plat_spec):
@@ -190,6 +191,7 @@ PLAT_TO_VCVARS = {
'win32' : 'x86',
'win-amd64' : 'x86_amd64',
'win-arm32' : 'x86_arm',
+ 'win-arm64' : 'x86_arm64'
}
# A set containing the DLLs that are guaranteed to be available for