[pypy-svn] r72049 - pypy/trunk/pypy/translator/goal

antocuni at codespeak.net antocuni at codespeak.net
Wed Mar 10 14:37:56 CET 2010


Author: antocuni
Date: Wed Mar 10 14:37:54 2010
New Revision: 72049

Modified:
   pypy/trunk/pypy/translator/goal/targetpypystandalone.py
Log:
ootype translation is broken :-(
detect it early, and point to the cli-jit branch, where it's known to be working at least



Modified: pypy/trunk/pypy/translator/goal/targetpypystandalone.py
==============================================================================
--- pypy/trunk/pypy/translator/goal/targetpypystandalone.py	(original)
+++ pypy/trunk/pypy/translator/goal/targetpypystandalone.py	Wed Mar 10 14:37:54 2010
@@ -101,6 +101,13 @@
         return parser
 
     def handle_config(self, config, translateconfig):
+        if config.translation.type_system == 'ootype':
+            print
+            print 'Translation to cli and jvm is known to be broken at the moment'
+            print 'Please try the "cli-jit" branch at:'
+            print 'http://codespeak.net/svn/pypy/branch/cli-jit/'
+            sys.exit(1)
+
         self.translateconfig = translateconfig
         # set up the objspace optimizations based on the --opt argument
         from pypy.config.pypyoption import set_pypy_opt_level



More information about the Pypy-commit mailing list