[pypy-svn] r54758 - pypy/dist/pypy/rpython/tool

afa at codespeak.net afa at codespeak.net
Thu May 15 19:43:07 CEST 2008


Author: afa
Date: Thu May 15 19:43:06 2008
New Revision: 54758

Modified:
   pypy/dist/pypy/rpython/tool/rffi_platform.py
Log:
Another attempt for r54745:
Ability to use separate_module_files and separate_module_sources as input
for rffi_platform.configure.


Modified: pypy/dist/pypy/rpython/tool/rffi_platform.py
==============================================================================
--- pypy/dist/pypy/rpython/tool/rffi_platform.py	(original)
+++ pypy/dist/pypy/rpython/tool/rffi_platform.py	Thu May 15 19:43:06 2008
@@ -530,7 +530,9 @@
 """
 
 def run_example_code(filepath, eci):
-    output = build_executable_cache([filepath], eci)
+    eci = eci.convert_sources_to_files()
+    files = [filepath] + list(eci.separate_module_files)
+    output = build_executable_cache(files, eci)
     section = None
     for line in output.splitlines():
         line = line.strip()



More information about the Pypy-commit mailing list