Author: Matti Picus <[email protected]>
Branch: py3.5
Changeset: r93892:751419a5d521
Date: 2018-02-26 21:24 -0500
http://bitbucket.org/pypy/pypy/changeset/751419a5d521/
Log: support finding vc14.1, vc15.0
diff --git a/rpython/translator/platform/windows.py
b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -46,7 +46,7 @@
arch = 'x64'
else:
arch = 'x86'
- if version == 140:
+ if version >= 140:
return msvc.msvc14_get_vc_env(arch)
else:
return msvc.msvc9_query_vcvarsall(version / 10.0, arch)
@@ -115,7 +115,7 @@
return env
def find_msvc_env(x64flag=False, ver0=None):
- vcvers = [140, 90, 100]
+ vcvers = [140, 141, 150, 90, 100]
if ver0 in vcvers:
vcvers.insert(0, ver0)
errs = []
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit