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

aarch64 Linux Wheels #220

Open
polm opened this issue Aug 22, 2022 · 4 comments
Open

aarch64 Linux Wheels #220

polm opened this issue Aug 22, 2022 · 4 comments

Comments

@polm
Copy link

polm commented Aug 22, 2022

I noticed you don't have wheels for aarch64 for Linux. Do you have any plans to release such wheels?

Github Actions supports this architecture, so it looks like you can probably just make a small change to the current wheel building actions.

@eiennohito
Copy link
Collaborator

eiennohito commented Aug 22, 2022

Since the last version, we do universal2 builds for macOS which work both on aarch64 and x64 at the same time, which is better in my opinion. The bad thing is Github Actions does not support managed runners yet, only self-hosted ones and we neither have infrastructure nor manpower to host the runner ourselves. So while there are build, they are not tested on aarch64 at all and may stop working at any time. I run tests on my M1 Macbook from time to time, but until there is a hosted option for Github Actions runner, it will not move futher.

cf:

  1. GitHub Actions: Apple Silicon (M1) powered macOS runners (Public Beta) github/roadmap#528
  2. Support for VMs on Apple M1 actions/runner-images#2187

@polm
Copy link
Author

polm commented Aug 22, 2022

Thanks for the clarification, but I am asking specifically about Linux aarch64, not OSX. I know the managed OSX runners on Github Actions still aren't fully usable with Python, but with Linux they should work - I build aarch64 wheels for mecab-python3 and fugashi. For example here is the action for aarch64 wheels for fugashi.

I don't think Linux aarch64 is that common, but it does include Raspberry Pi users, and potentially people running Linux (or Docker) on M1 machines.

@eiennohito
Copy link
Collaborator

Ah, Linux aarch64. I completely missed Linux in your first post, apologies.

Pull request is welcome! Current linux build does PGO which is good for binary builds, but it probably should work on aarch64 as well with minor modifications.

@Rhtyme
Copy link

Rhtyme commented Feb 27, 2024

In my case, I just installed rust :

curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
and then did :

source $HOME/.cargo/env
by following this tutorial.

Then I just did:

pip install --upgrade 'sudachipy>=0.6.8'

as it is instructed, and installed successfully!

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