sudachi.rs icon indicating copy to clipboard operation
sudachi.rs copied to clipboard

missing manyline + aarch64 Python wheel

Open ClemDoum opened this issue 1 year ago • 4 comments

Hi,

Thank you for developing and maintaining the lib. I'm currently facing a long CI and my is that it's because my CI host is trying to build the lib instead of using the wheel. I'm using linux + aarch64 and I don't see any aarch64 wheel on Pypi.

Would you be open to contributions in https://github.com/eiennohito/gha-manylinux-build and on this repository to build the wheel ?

ClemDoum avatar Nov 18 '24 12:11 ClemDoum

Currently we need to use multi-platform docker image with emulation (QEMU). We tried it but it was too slow and didn't finish within the limit of github action (more than 6 hours..) (https://github.com/WorksApplications/sudachi.rs/actions/runs/12665321588/job/35294817714).

Github will release arm runner for public repo shortly (2025 Q1): https://github.com/orgs/community/discussions/19197#discussioncomment-10550689. I hope we can utilize it to provide linux+arm wheel.

mh-northlander avatar Jan 10 '25 04:01 mh-northlander

Currently x64 builds use profile-guided optimizations (which is basically free 15% performance against not using it). But, it makes the build significantly longer and using PGO through QEMU is not a good idea in my opinion.

eiennohito avatar Jan 10 '25 07:01 eiennohito

Hi @eiennohito @mh-northlander, thank you for your answers.

@eiennohito if I understand right, your explanation for the above build timeout is the emulation of ARM64 on the X86_64 + PGO ?

@mh-northlander indeed, that makes sense and will make things simpler to wait for the ARM runner to be available for open source projects. Thanks you !

ClemDoum avatar Jan 10 '25 09:01 ClemDoum

Hi @eiennohito @mh-northlander, the ARM runners are now publicly available: https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

ClemDoum avatar Jan 17 '25 09:01 ClemDoum