Hi,

During refactorings I found out that os.uname() is called at run-time
from rpython/memory/gc/env.py to figure out on which platform we are.
It also means that the logic to figure out the L2 cache size *for all
platforms* is compiled into any pypy-c.  In ab7580454b32 I moved the
call to translation-time.  Can anyone check if this makes sense for
cross-compilation?  E.g. if cross-compiling for ARM, say, would not
end up with the host x86 platform here?  In other words, what is
os.uname() returning when called from a Python running inside the
cross-compilation environments we use?


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to