[pypy-commit] pypy s390x-backend: remove _vmprof when translating for s390x (for now)

plan_rich pypy.commits at gmail.com
Mon Feb 15 07:26:10 EST 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r82260:11fdfd9e852f
Date: 2016-02-15 13:25 +0100
http://bitbucket.org/pypy/pypy/changeset/11fdfd9e852f/

Log:	remove _vmprof when translating for s390x (for now)

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -39,10 +39,8 @@
     "_csv", "cppyy", "_pypyjson", "_vmprof",
 ])
 
-#if ((sys.platform.startswith('linux') or sys.platform == 'darwin')
-#    and os.uname()[4] == 'x86_64' and sys.maxint > 2**32):
-    # it's not enough that we get x86_64
-#    working_modules.add('_vmprof')
+if os.uname()[4] == 's390x':
+    working_modules.remove("_vmprof")
 
 translation_modules = default_modules.copy()
 translation_modules.update([


More information about the pypy-commit mailing list