Dapeng-Liu / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

Compiling pyv8 on ARM. #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
setup.py executed on ARM always tries to build v8 as ia32 version.

What steps will reproduce the problem?
1. Take an ARM box.
2. Prepare and build exactly as stated in the manual.

What is the expected output? What do you see instead?
The expected output is v8 (and pyv8) for ARM.
I see instead that setup tries to build v8 for ia32. Then I abort, so I don't 
know whether I would have a running pyv8 for ia32 in the end ;-)

What version of the product are you using? On what operating system?
Linux ubuntu 2.6.32.21-versatile #32-Ubuntu Fri Apr 16 08:14:53 UTC 2010 armv7l 
GNU/Linux

Original issue reported on code.google.com by alexurba...@gmail.com on 3 Oct 2011 at 6:48

GoogleCodeExporter commented 8 years ago

Original comment by flier...@gmail.com on 5 Oct 2011 at 10:38

GoogleCodeExporter commented 8 years ago
Could you give me the output of Python function `os.uname()`, PyV8 use this to 
determine what platform.

Original comment by flier...@gmail.com on 11 Oct 2011 at 1:21

GoogleCodeExporter commented 8 years ago
Please verify it with PyV8 SVN trunk r417 or later, it determine the platform 
with os.uname()[-1].startswith('arm')

Original comment by flier...@gmail.com on 11 Oct 2011 at 1:48