JHUISI / charm

Charm: A Framework for Rapidly Prototyping Cryptosystems
http://charm-crypto.io
GNU Lesser General Public License v3.0
552 stars 167 forks source link

Installation on Big Sur #259

Open dyd999x opened 3 years ago

dyd999x commented 3 years ago

Hi,

I have installed the necessary packages but when I run ./configure.sh I get: Unsupported CPU = arm64

I am using OS Big Sur. Is there a fix for this?

micharu123 commented 3 years ago

The reported architecture suggests that you're using a new MBP or Air with Apple Silicon. This is not an OS-specific problem. For example, I can successfully build Charm on my Intel-based MBP.

AFAIK, and from reviewing the configure shell script, the 64-bit ARM architecture is not yet supported. I suggest either using a cross-compiler to build for x86_64 and then using Rosetta 2 to emulate the instructions, or wait until your architecture is supported.

Maybe we can move this to a feature request?