-
Notifications
You must be signed in to change notification settings - Fork 561
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
Add Wheel for ARM musllinux aarch64 #3541
Comments
[Making PyMuPDF use an installed MuPDF is non-trivial because we require MuPDF's Python bindings, which are probably not installed.] I have an experimental PyMuPDF musllinux wheel at: http://ghostscript.com/~julian/PyMuPDF-1.24.5-cp312-none-musllinux_1_2_x86_64.whl I've no idea whether it will work on Alpine Linux, but if you could try it out that would be appreciated. For example:
[I can build for a different Python version if required.] |
Apologies, the wheel above is for x86_64, not aarch64. Unfortunately building for musllinux aarch64 on Github does not work because the Python If you have a working build (even if very slow), could you give details of the system? |
I'm currently running the following Docker container and copying the completed wheel out of it for install. Haven't had much time recently to test full compatibility due to work crunch (not detecting its building for musl linux).
|
Do you know why this uses This looks like it might be working around the problem that i'm seeing. |
py3-libclang isn't available in the Alpine repos so I'm installing it as a system package.
…-------- Original Message --------
On 6/8/24 1:22 PM, Julian Smith wrote:
Do you know why this uses --break-system-packages in the command pip install --break-system-packages libclang?
This looks like it might be working around the problem that i'm seeing.
—
Reply to this email directly, [view it on GitHub](#3541 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AADHPDJTEKKA464H777Q6OTZGM4VDAVCNFSM6AAAAABIUP3V56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGEYTAOJWGU).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
[Apologies for delay here.] I don't want to special-case musl-aarch64 builds, so for now we'll have to wait until libclang adds support for musl-aarch64. |
|
Is your feature request related to a problem? Please describe.
Currently, this library takes forever to compile on Alpine Linux for Docker containers running on ARM. Please cross-compile the library for arm64 with support for Alpine Linux.
Describe the solution you'd like
A new wheel is added that installs the library for Alpine Linux without burdensome compilation.
Describe alternatives you've considered
Alternatively, Alpine Linux has MuPDF as an installable library. Instead, use the system library instead of downloading it as an addition of the install.
The text was updated successfully, but these errors were encountered: