baoxingsong / AnchorWave

Sensitive alignment of genomes with high sequence diversity, extensive structural polymorphism and whole-genome duplication variation
MIT License
151 stars 19 forks source link

Add CMakeLists for ARM #41

Closed tanghaibao closed 1 year ago

tanghaibao commented 1 year ago

Add support to compile on macOS M1 (ARM architecture).

This PR places a copy of sse2neon.h to make SSE2 intrinsics methods available (note there is already another copy of minimap2/sse2neon/emmintrin.h, but does not seem to provide all headers, e.g. immintrin.h).

To compile, copy CMakeLists_arm.txt to CMakeLists.txt, and follow the instructions in installation.md.

Tested on a few examples that appear to work.