Winnowmap icon indicating copy to clipboard operation
Winnowmap copied to clipboard

Not compiling on MacOS ARM

Open jianshu93 opened this issue 3 years ago • 2 comments
trafficstars

Hello Chirag,

I noticed there are sse2neon folder there in the src but I still have the error on macOS ARM:

c++ -c -msse2 -g -Wall -O2 -DHAVE_KALLOC -fopenmp -std=c++11 -Wno-sign-compare -Wno-write-strings -Wno-unused-but-set-variable -fno-tree-vectorize ksw2_ll_sse.c -o ksw2_ll_sse.o c++ -c -msse4.1 -g -Wall -O2 -DHAVE_KALLOC -fopenmp -std=c++11 -Wno-sign-compare -Wno-write-strings -Wno-unused-but-set-variable -fno-tree-vectorize -DKSW_CPU_DISPATCH ksw2_extz2_sse.c -o ksw2_extz2_sse41.o c++ -c -msse4.1 -g -Wall -O2 -DHAVE_KALLOC -fopenmp -std=c++11 -Wno-sign-compare -Wno-write-strings -Wno-unused-but-set-variable -fno-tree-vectorize -DKSW_CPU_DISPATCH ksw2_extd2_sse.c -o ksw2_extd2_sse41.o c++ -c -msse4.1 -g -Wall -O2 -DHAVE_KALLOC -fopenmp -std=c++11 -Wno-sign-compare -Wno-write-strings -Wno-unused-but-set-variable -fno-tree-vectorize -DKSW_CPU_DISPATCH ksw2_exts2_sse.c -o ksw2_exts2_sse41.o c++: error: unrecognized command-line option '-msse2' make[1]: *** [ksw2_ll_sse.o] Error 1 make[1]: *** Waiting for unfinished jobs.... c++: error: unrecognized command-line option '-msse4.1' c++: error: unrecognized command-line option '-msse4.1' make[1]: *** [ksw2_extd2_sse41.o] Error 1 make[1]: *** [ksw2_exts2_sse41.o] Error 1 c++: error: unrecognized command-line option '-msse4.1' make[1]: *** [ksw2_extz2_sse41.o] Error 1 make: *** [winnowmap] Error 2

Any idea why?

Thanks,

Jianshu

jianshu93 avatar Mar 14 '22 14:03 jianshu93

Hi, Jianshu

I'm using M1 ARM Mac.

And after setting the environment variable "arm_neon", it's successfully compiled.

AyanoClarke avatar Apr 15 '22 10:04 AyanoClarke

can you please be more specific -msse3 is always there?

thanks,

Jianshu

jianshu93 avatar Apr 16 '22 01:04 jianshu93