[pypy-commit] pypy shared-by-default: a branch to measure if --shared can be enabled by default

fijal noreply at buildbot.pypy.org
Sun Jun 2 22:23:20 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: shared-by-default
Changeset: r64717:858bc45b1b06
Date: 2013-06-03 04:22 +0800
http://bitbucket.org/pypy/pypy/changeset/858bc45b1b06/

Log:	a branch to measure if --shared can be enabled by default

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -93,8 +93,7 @@
     # itself needs the interp-level struct module
     # because 'P' is missing from the app-level one
     "_rawffi": [("objspace.usemodules.struct", True)],
-    "cpyext": [("translation.secondaryentrypoints", "cpyext,main"),
-               ("translation.shared", sys.platform == "win32")],
+    "cpyext": [("translation.secondaryentrypoints", "cpyext,main")]
 }
 
 module_import_dependencies = {
@@ -309,6 +308,7 @@
     # unspecified and we get None.  It shouldn't occur in translate.py though.
     type_system = config.translation.type_system
     backend = config.translation.backend
+    config.translation.suggest(shared=True)
 
     # all the good optimizations for PyPy should be listed here
     if level in ['2', '3', 'jit']:


More information about the pypy-commit mailing list