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

Build mappy via Makefile and libminimap2.a #868

Merged
merged 3 commits into from
Mar 1, 2022
Merged

Build mappy via Makefile and libminimap2.a #868

merged 3 commits into from
Mar 1, 2022

Conversation

cjw85
Copy link
Contributor

@cjw85 cjw85 commented Feb 5, 2022

Resolves #867.

pip install mappy current fails with compile errors around neon. I suspect at some point the install worked but the setup.py hasn't kept pace with the Makefile in terms of how things should be built on ARM.

This implements one method of ensuring mappy build is in sync with that defined in Makefile for minimap2. Alternatively the Makefile if statements need translating to the setup.py.

@lh3 lh3 merged commit a41f5d1 into lh3:master Mar 1, 2022
@lh3
Copy link
Owner

lh3 commented Mar 1, 2022

Thanks! Merged.

@lh3 lh3 added the enhancement label Mar 1, 2022
@iiSeymour
Copy link
Contributor

That's great! Can we get mappy 2.25 (or similar) on PyPI, please?

@lh3
Copy link
Owner

lh3 commented Apr 29, 2023

I can't compile mappy with

python setup.py build_ext

In addition, because *.c files are not included in setup.py, these files are not included in the mappy package. The PyPI package is also broken. I will revert back to the old setup.py. Hope you can find a better solution for Apple M1. See also #1057.

lh3 added a commit that referenced this pull request Apr 29, 2023
@cjw85 cjw85 mentioned this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mappy fails to install on Apple M1
3 participants