AztecProtocol / aztec-2.0

C++ elliptic curve library
134 stars 37 forks source link

Fix compilation for apple M1 processors #69

Closed jfecher closed 2 years ago

jfecher commented 2 years ago

Cherry-picks changes from a5ac14bb0e774c400e45c64e5246ed29a2ed4dd8 and fixes the build.rs of the rust wrapper to automatically detect when running arm64 and mac to pass in the "APPLE_M1" define to CMake that barretenberg now requires.