[pypy-svn] r34369 - pypy/dist/pypy/config
cfbolz at codespeak.net
cfbolz at codespeak.net
Wed Nov 8 15:03:41 CET 2006
Author: cfbolz
Date: Wed Nov 8 15:03:39 2006
New Revision: 34369
Modified:
pypy/dist/pypy/config/pypyoption.py
Log:
add vanilla option that tries to make pypy more portable. samuele to implement
the actual functionality.
Modified: pypy/dist/pypy/config/pypyoption.py
==============================================================================
--- pypy/dist/pypy/config/pypyoption.py (original)
+++ pypy/dist/pypy/config/pypyoption.py Wed Nov 8 15:03:39 2006
@@ -135,7 +135,6 @@
"boehm", requires={
"stacklessgc": [("translation.stackless", True)]},
cmdline="--gc"),
-
BoolOption("thread", "enable use of threading primitives",
default=False, cmdline="--thread"),
BoolOption("verbose", "Print extra information", default=False),
@@ -153,6 +152,16 @@
BoolOption("debug_transform", "Perform the debug transformation",
default=False, cmdline="--debug-transform", negation=False),
+ # portability options
+ BoolOption("vanilla",
+ "Try to be as portable as possible, which is not much",
+ default=False,
+ cmdline="--vanilla",
+ requires=[("translation.no__thread", True)]),
+ BoolOption("no__thread",
+ "don't use __thread for implementing TLS",
+ default=False, cmdline="--no__thread", negation=False),
+
# Flags of the TranslationContext:
BoolOption("simplifying", "Simplify flow graphs", default=True),
BoolOption("do_imports_immediately", "XXX", default=True,
@@ -163,7 +172,7 @@
cmdline=None),
ChoiceOption("fork_before",
"(UNIX) Create restartable checkpoint before step",
- ["annotate", "rtype", "backendopt", "database", "source"],
+ ["annotate", "rtype", "backendopt", "database", "source"],
default=None, cmdline="--fork-before"),
OptionDescription("backendopt", "Backend Optimization Options", [
More information about the Pypy-commit
mailing list