Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r96336:506b37a575b5
Date: 2019-03-19 22:18 +0200
http://bitbucket.org/pypy/pypy/changeset/506b37a575b5/
Log: add option for non-x86 (s390x)
diff --git a/lib_pypy/_blake2/_blake2_build.py
b/lib_pypy/_blake2/_blake2_build.py
--- a/lib_pypy/_blake2/_blake2_build.py
+++ b/lib_pypy/_blake2/_blake2_build.py
@@ -13,8 +13,11 @@
elif IS_WIN:
extra_compile_args = []
define_macros = [('__SSE2__', '1')]
+elif platform.machine().startswith('x86'):
+ extra_compile_args = ['-msse2']
+ define_macros = []
else:
- extra_compile_args = ['-msse2']
+ extra_compile_args = []
define_macros = []
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit