Re: [myhdl-list] pypy test_all.py
Brought to you by:
jandecaluwe
From: Bob C. <Fl...@gm...> - 2011-07-05 10:22:44
|
On 07/05/2011 01:26 AM, Bob Cunningham wrote: > On 07/05/2011 01:00 AM, Jan Decaluwe wrote: >> On 07/05/2011 07:06 AM, Bob Cunningham wrote: >>> I just downloaded and installed MyHDL 0.7 and pypy under Fedora 15. >>> >>> I first did the install using python, and "python test_all.py" ran without correctly. >>> >>> I repeated the install using pypy, and "pypy test_all.py" ran with 4 errors and 1 fail. >>> Are these failures expected for the current versions of MyHDL and pypy? >> http://myhdl.org/doku.php/performance#installation_hints_and_known_issues >> > Is there a known pypy nightly build that passes test_all.py I just cloned the pypy repository and built the pypy tip (and found a new love for the ASCII Mandelbrot). Though there were a gazillion warnings, the build completed. I ran the following: $ ./pypy-c Python 2.7.1 (2630c86662b4, Jul 05 2011, 08:25:11) [PyPy 1.5.0-alpha0 with GCC 4.6.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. And now for something completely different: ``- how will the fact that they are used in our repl change our topics?'' >>>> 46 - 4 42 >>>> from test import pystone >>>> pystone.main() Pystone(1.1) time for 50000 passes = 0.381942 This machine benchmarks at 130910 pystones/second So the new pypy-c is at least minimally functional. Next, I manually installed myhdl for the new pypy-c executable, without error. Then I ran "pypy-c test_all.py". The pypy-c executable itself died during the first test, so the current pypy tip appears to be broken. (Of course, I could be doing something wrong...) -BobC |