[pypy-commit] pypy default: merged upstream
alex_gaynor
noreply at buildbot.pypy.org
Sun Apr 7 07:44:27 CEST 2013
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r63111:aefddd47f224
Date: 2013-04-06 22:44 -0700
http://bitbucket.org/pypy/pypy/changeset/aefddd47f224/
Log: merged upstream
diff --git a/rpython/jit/tl/tla/tla_assembler.py b/rpython/jit/tl/tla/tla_assembler.py
--- a/rpython/jit/tl/tla/tla_assembler.py
+++ b/rpython/jit/tl/tla/tla_assembler.py
@@ -2,8 +2,8 @@
import sys
import py
+from rpython.jit.tl.tla.test_tla import assemble
py.path.local(__file__)
-from rpython.jit.tl.tla.test_tla import assemble
def usage():
print >> sys.stderr, 'Usage: tla_assembler.py filename.tla.py'
diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py
--- a/rpython/rtyper/lltypesystem/lltype.py
+++ b/rpython/rtyper/lltypesystem/lltype.py
@@ -503,7 +503,7 @@
return obj
def __init__(self, OF, length, **kwds):
- if hasattr(self, '_name'):
+ if '_name' in self.__dict__:
assert self.OF == OF
assert self.length == length
return
diff --git a/rpython/translator/platform/arm.py b/rpython/translator/platform/arm.py
--- a/rpython/translator/platform/arm.py
+++ b/rpython/translator/platform/arm.py
@@ -47,11 +47,12 @@
return ExecutionResult(returncode, stdout, stderr)
def include_dirs_for_libffi(self):
- return [SB2 + '/usr/include/arm-linux-gnueabi/']
+ return [SB2 + '/usr/include/arm-linux-gnueabi/',
+ SB2 + '/usr/include/arm-linux-gnueabihf/']
def library_dirs_for_libffi(self):
- # on the other hand, library lands in usual place...
- return []
+ return [SB2 + '/usr/lib/arm-linux-gnueabi/',
+ SB2 + '/usr/lib/arm-linux-gnueabihf/']
def execute_makefile(self, path_to_makefile, extra_opts=[]):
if isinstance(path_to_makefile, GnuMakefile):
More information about the pypy-commit
mailing list