Author: Maciej Fijalkowski <[email protected]>
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']:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit