scipr-lab / libsnark

C++ library for zkSNARKs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make problem

DreamcatcherY opened this issue · comments

commented

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!