docker-library / pypy

Docker Official Image packaging for pypy
http://pypy.org/
MIT License
69 stars 46 forks source link

support arm64 architecture #17

Closed longquan7 closed 5 years ago

longquan7 commented 7 years ago

I want to build this image on arm64 but I don't find some file to support arm64 on https://bitbucket.org/pypy/pypy/downloads/ , So I want to know this image whether or not to support arm64

tianon commented 7 years ago

See https://bitbucket.org/pypy/pypy/issues/2331/armv8-aarch64-or-aarch32-support, especially https://bitbucket.org/pypy/pypy/issues/2331/armv8-aarch64-or-aarch32-support#comment-37490175:

The core PyPy team has got no plan to support aarch64 at the moment. I can't speak for others, but as far as I'm concerned I have no time available to work on it even if I got money and access to a machine.

If upstream's stance changes and they start releasing binaries for arm64, we can reconsider consuming them. :+1:

longquan7 commented 7 years ago

@tianon OK,thanks

mmarmm commented 5 years ago

@tianon Hi, it appears upstream stance has now changed, could we introduce a development version to start testing when available or is it too early? Could we open this back up in the meantime while we're waiting? Thanks.

https://morepypy.blogspot.com/2018/11/hello-everyone-at-pypy-we-are-trying-to.html

tianon commented 5 years ago

Sure, sounds reasonable.

tianon commented 5 years ago

7.1.0 is now released (quite a few months later) and still no arm64 support upstream :disappointed: (likely stuck on some language implementation issues; unfortunately nothing we can really control or help with :disappointed:)

(I'm going to close this for now. When upstream starts publishing arm64 binaries again, we'll happily consume them as much as we can! :+1:)

fijal commented 5 years ago

Hey. Arm64 support landed officially in PyPy as of a few minutes ago. We don't have a release yet, but what can we do for this to be officially included?

tianon commented 5 years ago

Unfortunately, we consume from the official releases (https://bitbucket.org/pypy/pypy/downloads/), so I think this will need to wait for a release. :disappointed:

fijal commented 5 years ago

Would you be interested in a pre-release? I can add a thing to pypy/downloads if you need

tianon commented 5 years ago

Absolutely! I'm a big fan of incorporating pre-releases (often to the chagrin of @yosifkit :innocent: ).

fijal commented 5 years ago

Hey.

I've uploaded pypy2.7 prerelease for arm64 to https://bitbucket.org/pypy/pypy/downloads/pypy-v7.2-pre-aarch64.tar.bz2

Let me know if it works for you!

tianon commented 5 years ago

That's definitely neat, and I think it's useful to create a Docker image from! What I'm not sure about is where it would fit within this image though -- we're currently packaging each release branch across the set of supported architectures we have in overlap with what's released, so I'm not sure what we would label this build especially since it's arm64-only and doesn't correspond to anything else. :confused:

Any ideas/thoughts? Maybe this makes more sense as a community image on Docker Hub for now to get folks to try it out? (any idea who holds the keys to the https://hub.docker.com/u/pypy organization? :smile:)

fijal commented 5 years ago

I think the answer is "we just wait for the release", which should happen in the next few weeks.

lag-linaro commented 5 years ago

https://morepypy.blogspot.com/2019/07/pypy-jit-for-aarch64.html

Tadaaaaaa!

https://bitbucket.org/pypy/pypy/downloads/

EDIT: Looks like I was carried away by the excitement.

@fijal, when does it come out of pre-release?

lag-linaro commented 5 years ago

AArch64 pre-release has been out for a couple of months now.

@tianon could you please re-open this ticket.

@fijal any update on a proper release yet?

fijal commented 5 years ago

Hey

PyPy release is upcoming and aarch64 is a part of it. You can look up latest builds from various branches (trunk, py3.6, upcoming release when it comes along) here: http://buildbot.pypy.org/nightly/

tianon commented 2 years ago

Unfortunately, we're having to remove this support again in #69 thanks to linking changes (libffi.so.6 and libtinfow.so.6). :disappointed: