wlav / cppyy

Other
391 stars 40 forks source link

Add wheels for manylinux2014 aarch64 #123

Open finsberg opened 1 year ago

finsberg commented 1 year ago

Hi! Thanks for a great library.

I am using cppyy inside Docker on my M1 mac, and it takes forever to install cppyy from source. I see that you have added wheels for most platforms (https://pypi.org/project/cppyy-cling/#files), but would it be possible to add wheels for aarch64 on linux on that next release?

wlav commented 1 year ago

I've heard that it's possible to cross-compile to ARM on Linux, but haven't had the time yet to figure out how. I simply don't have the resources to do all these builds (this is also why e.g. CPyCppyy doesn't have wheels to begin with).

Possible options: conda has Linux aarch64 builds; you could copy the wheel from the pip cache in the docker image once build and reuse; there's a native build wheel for M1.

finsberg commented 1 year ago

Thank for the tip with conda!

I think this would be possible to achieve with cibuildwheel (https://github.com/pypa/cibuildwheel). I would be happy to try to add a github action for building these wheels for you, if you are accepting PRs?

wlav commented 1 year ago

Yes, of course. :)