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

fix: Include simde in Pgenlib python package, fixing aarch64 build #261

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

pettyalex
Copy link
Contributor

Well, since I noticed a problem with the Pgenlib python package, I might as well fix it.

Add src/plink2/simde directory to the Python package such that it will be available when compiling. This will fix Pgenlib on both Mac aarch64 and Linux aarch64, its broken in both right now.

I noticed that there were old include lines in MANIFEST.in from when simde headers used to live directly in include. I have removed those, they did not match any files and were not doing anything.

I followed your pattern of including specific files rather than using recursive-include, but recursive-include would certainly make a simpler, maybe more robust MANIFEST.in.

This should fix #260. I have tested it on a Raspberry Pi 4 to check aarch64-linux-gnu

P.S. I don't know what kind of CI you use to build Pgenlib, but I'd be glad to help you make it produce aarch64 wheels as well. ARM market share is increasing significantly, and it's the best value available on AWS.

…l be available when compiling. This will fix Pgenlib on both Mac aarch64 and Linux aarch64, its broken in both right now.
@pettyalex
Copy link
Contributor Author

I went ahead and made a workflow to build mac ARM wheels: #262 as an excuse to learn about cibuildwheel

@chrchang chrchang merged commit fd6f2c2 into chrchang:master Feb 28, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Pgenlib 0.90.1 is not installable from PyPI with Python 3.12.2 on Mac aarch64
2 participants