[pypy-svn] r75361 - pypy/trunk/pypy/tool

fijal at codespeak.net fijal at codespeak.net
Sun Jun 13 07:07:35 CEST 2010


Author: fijal
Date: Sun Jun 13 07:07:34 2010
New Revision: 75361

Modified:
   pypy/trunk/pypy/tool/gcc_cache.py
Log:
Don't cache failures. Repeatadly people had problems with it (including me).


Modified: pypy/trunk/pypy/tool/gcc_cache.py
==============================================================================
--- pypy/trunk/pypy/tool/gcc_cache.py	(original)
+++ pypy/trunk/pypy/tool/gcc_cache.py	Sun Jun 13 07:07:34 2010
@@ -33,9 +33,9 @@
         try:
             platform.compile(c_files, eci)
             data = 'True'
+            path.write(data)
         except CompilationError, e:
             data = 'FAIL\n%s\n' % (e,)
-        path.write(data)
     if data.startswith('True'):
         return True
     else:



More information about the Pypy-commit mailing list