Home_greyopenFATE - openSUSE feature tracking > #311176
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

add pypy - a faster python implementation

Feature state

Package Wishlist


pypy is (almost) fully compatible to python 2.5 but it can execute your unmodified Python code 5-15 times faster than the standard cPython.

For benefits see here: http://fedoraproject.org/wiki/Features/PyPyStack

It takes more than 1 hour to build on a fast machine ....so providing a nice rpm package would make sense

pypy has been around for a very long time but only now it has a 64 bit JIT compiler


icons/user_comment.png D. P. wrote: (7 years ago)

I tried to use the build service for this to submit the package but it seemed to end up in an infinite loop.
Was able to build successfully on 11.3, these are my notes:
sudo zypper -n in python-devel python-curses libffi-devel zlib-devel libbz2-devel ncurses-devel libexpat-devel openssl-devel valgrind-devel gc-devel prelink
download http://kojipkgs.fedoraproject.org/packages/pypy/1.4.1/3.fc15/src/pypy-1.4.1-3.fc15.src.rpm
rpmbuild --rebuild pypy-1.4.1-3.fc15.src.rpm
cancel the build after the first few error messages
edit /usr/src/packages/SPECS/pypy.spec and
Buildrequires: bzip2-devel
Buildrequires: expat-devel
Buildrequires: libbz2-devel
Buildrequires: libexpat-devel
Buildrequires: prelink
and set
%global with_stackless 1
cd /usr/lib64
ln -s libncurses.a libcurses.a
cd /usr/lib
ln -s libncurses.a libcurses.a

rpmbuild -ba /usr/src/packages/SPECS/pypy.spec

Last change: 18 months ago
Loading tags...
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint