[pypy-commit] pypy py3.6: add option for non-x86 (s390x)
mattip
pypy.commits at gmail.com
Tue Mar 19 16:19:42 EDT 2019
Author: Matti Picus <matti.picus at gmail.com>
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 = []
More information about the pypy-commit
mailing list