harfbuzz / uharfbuzz

A HarfBuzz Python binding
Apache License 2.0
68 stars 25 forks source link

Wheels for alpine/musl #166

Closed fredericoschardong closed 1 year ago

fredericoschardong commented 1 year ago

Some of us out there are using Python on alpine-based systems, which use musl instead of glibc. Thus, we have to build our own wheels everytime.

Can you please add musl-based wheels? It would imensely speed up the build process.

anthrotype commented 1 year ago

I suppose we can. I think cibuildwheel produces those by default already, but we disabled because it was taking long and we figured it was less frequently used

https://github.com/harfbuzz/uharfbuzz/blob/bff12e6be78b990ff9a63e7ac8301a5372c57408/pyproject.toml#L12

Can you send a PR to re-enable them and see if it builds successfully? If it doesn't add too much to the build time I'm ok to add them.

fredericoschardong commented 1 year ago

I am running the build as you instructed in a little fork I made. I will report here once it finishes and open up the PR.

EDIT: It takes about 30min to build for both manylinux and musllinux. Here is the PR.