samtools / htslib

C library for high-throughput sequencing data formats
Other
810 stars 447 forks source link

Fix problems found attempting to build on i686 #1500

Closed daviesrob closed 2 years ago

daviesrob commented 2 years ago

_mm256_extract_epi64(), used by the AVX2 rANS codec, is only available on X86_64. Adding it to the configure tests prevents it from being used on i686. Also change the ax_check_compile_flag test so it runs the linker, which catches missing symbols better than just running the compiler.