[pypy-svn] r37510 - pypy/dist/pypy/config

afayolle at codespeak.net afayolle at codespeak.net
Mon Jan 29 11:28:15 CET 2007


Author: afayolle
Date: Mon Jan 29 11:28:14 2007
New Revision: 37510

Modified:
   pypy/dist/pypy/config/pypyoption.py
Log:
disable bz2 on 64bit platform
debug disabled for logic object space


Modified: pypy/dist/pypy/config/pypyoption.py
==============================================================================
--- pypy/dist/pypy/config/pypyoption.py	(original)
+++ pypy/dist/pypy/config/pypyoption.py	Mon Jan 29 11:28:14 2007
@@ -1,5 +1,7 @@
 import autopath
 import py, os
+import sys
+import platform
 from pypy.config.config import OptionDescription, BoolOption, IntOption, ArbitraryOption
 from pypy.config.config import ChoiceOption, StrOption, to_optparse, Config
 
@@ -26,6 +28,8 @@
     ]
 ))
 
+if platform.machine() == "x86_64" and sys.maxint != 2147483647:
+    del working_modules['bz2'] # not 64 bit ready
 
 module_dependencies = { }
 if os.name == "posix":
@@ -40,7 +44,6 @@
                      "thunk": [("objspace.geninterp", False)],
                      "logic": [("objspace.geninterp", False),
                                ("objspace.usemodules._stackless", True),
-                               ("translation.debug", True),
                                ("translation.gc", 'framework'),
                                ],
                  },



More information about the Pypy-commit mailing list