HElib
HElib copied to clipboard
To build on Mac m1
The clang compiler on the M1 macs does not like -march=native. This can be remedied by a
set(PRIVATE_HELIB_CXX_FLAGS "-mcpu=lightning")
in the CmakeLists.txt file. This issue documents the change.