scipr-lab / libsnark

C++ library for zkSNARKs
Other
1.8k stars 570 forks source link

make problem #193

Open DreamcatcherY opened 2 years ago

DreamcatcherY commented 2 years ago

When I do 'make' after 'cmake ..'
Problem: [ 1%] Building CXX object depends/CMakeFiles/zm.dir/ate-pairing/src/zm.cpp.o clang: fatal error: the clang compiler does not support '-march=native' make[2]: [depends/CMakeFiles/zm.dir/ate-pairing/src/zm.cpp.o] Error 1 make[1]: [depends/CMakeFiles/zm.dir/all] Error 2 make: *** [all] Error 2

Background: Apple M1

This problem has bothered me for a long time,I hope it can be solved as soon as possible!

Thanks in advanced!