lbcb-sci / graphmap2

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html https://www.biorxiv.org/content/10.1101/720458v1
MIT License
67 stars 6 forks source link

Use sse2neon.h shim for aarch64 support #23

Open martin-g opened 2 years ago

martin-g commented 2 years ago

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

martin-g commented 2 years ago

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 commented 2 years ago

Any chance this PR could be reviewed and eventually merged ?

jianshu93 commented 3 months ago

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 | ^~~~~ compilation terminated.

I use brew installed GCC/G++.

Thanks,

Jianshu

martin-g commented 3 months ago

@jianshu93 This PR covers this - https://github.com/lbcb-sci/graphmap2/pull/23/files#diff-4948febb699a8383c83e28b537a6f28000032802707a9dd40fa8655afc44b00d