Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64 support #14

Open
filipef101 opened this issue Apr 11, 2021 · 13 comments
Open

arm64 support #14

filipef101 opened this issue Apr 11, 2021 · 13 comments

Comments

@filipef101
Copy link

Possible to?

@hauxir
Copy link
Owner

hauxir commented Apr 11, 2021

Definitely not an impossible task. If you can manage to build an arm64 docker image that works feel free to PR

@filipef101
Copy link
Author

The problem is the base image hauxir/libtorrent-python3-ubuntu

@hauxir
Copy link
Owner

hauxir commented Apr 11, 2021

source for the base image: https://github.com/hauxir/libtorrent-ubuntu-python3

@filipef101
Copy link
Author

awesome, was looking for that! I'd love to contribute to this repo, I wonder what is the best way to support arm64? I don't know much about docker. Would the best way to go for it is to use buildx to build the multiple archs? if so should it be for that base image, or should we remove the need for that base image and do it all in this repo's docker file?

If we just make that base image have multiple archs I guess it's just something you can do afaik

@hauxir
Copy link
Owner

hauxir commented Apr 11, 2021

I have no idea tbh, if you figure it out feel free to make a PR.

I guess a good start is to just build a separate image that supports ARM?

@filipef101
Copy link
Author

Yup, I think I got it, kind of just mixed both docker files, waiting for it to finish building (on the rpi so takes ages 😅 ).
If it works will publish it to the docker hub as rapidbayarm64 (?)

Also of topic, but any chance we could stream while downloading?

@filipef101 filipef101 changed the title arm64 support? arm64 support Apr 11, 2021
@hauxir
Copy link
Owner

hauxir commented Apr 11, 2021

There's a WIP branch for that on #15

@filipef101
Copy link
Author

fyi I gave up on this for this week at least, also because I wanted something that supports instant playback ala popcorntime, and currently looking at this first https://github.com/diericx/bevy

@ghost
Copy link

ghost commented Apr 24, 2021

I attempted to build this on my pi3 ARMv7 but unfortunately it crashes when I compile libtorrent.
Wish it worked, regardless amazing project you got going on here. I found others but none with jackett as indexer which makes ur superior.

@hauxir
Copy link
Owner

hauxir commented Apr 27, 2021

@fpor @filipef101

try using this as a base image:

hauxir/libtorrent-python3-ubuntu-arm64v8:latest

@ghost
Copy link

ghost commented Apr 29, 2021

@fpor @filipef101

try using this as a base image:

hauxir/libtorrent-python3-ubuntu-arm64v8:latest

Thanks for the reply, could you make an armhf/v7 version only pi4 is arm64.

@hauxir
Copy link
Owner

hauxir commented Apr 29, 2021

I unfortunately don't have a pi3 to build on. What is the issue you run into when you build the libtorrent-python3-ubuntu image there?
Have you tried using arm32v7/ubuntu:focal as a base image there?

@sunjam
Copy link

sunjam commented Jul 26, 2022

@fpor @filipef101
try using this as a base image:
hauxir/libtorrent-python3-ubuntu-arm64v8:latest

only pi4 is arm64.

Not true. You can install an arm64 image on the Pi3. Such images were simply not available until the last year or two, but are supported by the architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants