Skip to content

Conversation

megawron
Copy link

The bundled Minimap2 aligner in QUAST fails to compile on 64-bit ARM architectures (e.g., Apple Silicon Macs, Linux aarch64) due to the attempted compilation of SSE-specific code (like in ksw2_ll_sse.c). This results in a general 'ERROR! Compilation of contig aligner software was unsuccessful!'.

This commit modifies QUAST's function. It now detects if the system is a 64-bit ARM architecture and if the tool being compiled is 'Minimap2'. If these conditions are met, the and flags are added to the command for Minimap2.

This approach utilizes Minimap2's standard Makefile, which includes support for ARM NEON compilation when these flags are provided (likely via sse2neon for relevant C files). This resolves the SSE-related compilation errors and enables QUAST to successfully compile and use its bundled Minimap2 on these ARM platforms.

Closes #283

The bundled Minimap2 aligner in QUAST fails to compile on 64-bit
ARM architectures (e.g., Apple Silicon Macs, Linux aarch64) due to
the attempted compilation of SSE-specific code (like in ksw2_ll_sse.c).
This results in a general 'ERROR! Compilation of contig aligner
software was unsuccessful!'.

This commit modifies QUAST's  function. It now detects
if the system is a 64-bit ARM architecture ( or )
and if the tool being compiled is 'Minimap2'. If these conditions
are met, the  and  flags are added to the
 command for Minimap2.

This approach utilizes Minimap2's standard Makefile, which includes
support for ARM NEON compilation when these flags are provided
(likely via sse2neon for relevant C files). This resolves the
SSE-related compilation errors and enables QUAST to successfully
compile and use its bundled Minimap2 on these ARM platforms.

Closes ablab#283
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: Bundled Minimap2 fails to compile on ARM64 macOS (Apple Silicon)

1 participant