[pypy-commit] pypy stm-thread-2: Fix

arigo noreply at buildbot.pypy.org
Tue Dec 18 01:00:08 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread-2
Changeset: r59481:f6071fb274ab
Date: 2012-12-18 00:58 +0100
http://bitbucket.org/pypy/pypy/changeset/f6071fb274ab/

Log:	Fix

diff --git a/pypy/rlib/rstack.py b/pypy/rlib/rstack.py
--- a/pypy/rlib/rstack.py
+++ b/pypy/rlib/rstack.py
@@ -19,8 +19,13 @@
 
 # ____________________________________________________________
 
+srcdir = py.path.local(pypydir) / 'translator' / 'c' / 'src'
+compilation_info = ExternalCompilationInfo(
+        includes=['src/stack.h'],
+        separate_module_files=[srcdir / 'stack.c', srcdir / 'threadlocal.c'])
+
 def llexternal(name, args, res, _callable=None):
-    return rffi.llexternal(name, args, res,
+    return rffi.llexternal(name, args, res, compilation_info=compilation_info,
                            sandboxsafe=True, _nowrapper=True,
                            _callable=_callable)
 


More information about the pypy-commit mailing list