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

Use sse2neon.h shim for aarch64 support #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martin-g
Copy link

@martin-g martin-g commented Aug 30, 2022

sse2neon.h is taken from https://github.com/DLTcollab/sse2neon/releases/tag/v1.5.1.

Remove -m64 CFLAG because it is x86_64 specific and it is GCC's default for 64-bit systems anyway.

Fixes #21 and #22

Remove -m64 CFLAG because it is x86_64 specific

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g
Copy link
Author

Also added Github Actions based CI config.
Build results could be seen on my fork - https://github.com/martin-g/graphmap2/runs/8091140274?check_suite_focus=true

@martin-g
Copy link
Author

martin-g commented Sep 8, 2022

Any chance this PR could be reviewed and eventually merged ?

Copy link

@emiliofernandes emiliofernandes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, @martin-g !
Your PR helped me build GraphMap2 on Linux aarch64!

@jianshu93
Copy link

How about aarch64 for MacOS?

I have the following error:

src/ksw2/ksw2_ll_sse.cc:4:10: fatal error: emmintrin.h: No such file or directory
4 | #include <emmintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.

I use brew installed GCC/G++.

Thanks,

Jianshu

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.

Build fails on Linux ARM64
3 participants