Closed iskandr closed 9 months ago
It works on my M1 pro.
cc --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
what is your clang version?
I'm getting the same error on my M1 Mac, clang version below:
cc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
I built from source and changed -march=native
to -mcpu=apple-m1
, seems to be working now.
For me building from source and running the test listed in the README fails:
$ ./bin/abpoa ./test_data/seq.fa
[main] CMD: ./bin/abpoa ./test_data/seq.fa
[simd_abpoa_align_sequence_to_subgraph] Error in cg_backtrack.
$ clang --version
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Can you copy the full output of make
command on your mac?
@cjw85 I guess you didn't add flags like armv8=1
to the make command, right?
Oh! I see. The Makefile doesn't detect the arch.
Great! Thanks @cjw85 !