Author: mattip <[email protected]>
Branch: run-create_cffi_imports
Changeset: r78275:fb0d7cdb95e6
Date: 2015-06-23 23:18 +0300
http://bitbucket.org/pypy/pypy/changeset/fb0d7cdb95e6/
Log: error message, update whatsnew
diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst
--- a/pypy/doc/whatsnew-head.rst
+++ b/pypy/doc/whatsnew-head.rst
@@ -16,3 +16,9 @@
.. branch: disable-unroll-for-short-loops
The JIT no longer performs loop unrolling if the loop compiles to too much
code.
+
+.. branch: run-create_cffi_imports
+
+Build cffi import libraries as part of translation by monkey-patching an
+aditional task into translation
+
diff --git a/pypy/goal/targetpypystandalone.py
b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -330,6 +330,7 @@
# XXX possibly adapt options using modules
failures = create_cffi_import_libraries(exename, options, basedir)
# if failures, they were already printed
+ print >> sys.stderr, str(exename),'successfully built, but errors
while building the above modules will be ignored'
driver.task_build_cffi_imports =
types.MethodType(task_build_cffi_imports, driver)
driver.tasks['build_cffi_imports'] = driver.task_build_cffi_imports,
['compile_c']
driver.default_goal = 'build_cffi_imports'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit