An open API service indexing awesome lists of open source software.

https://github.com/lispc/circom-on-apple-silicon


https://github.com/lispc/circom-on-apple-silicon

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Problem

I want to run circom witness generator (it needs ADX/BMI2 instructions) on Apple M1 using Rosetta 2. Of course, it fails.

```
# it will output "Illegal instruction: 4"
run_mac_m1.sh
```

# Solution

Finally I succeeded by starting an aarch64 Debian docker container, then inside this container, I installed QEMU-user to emulate the x86\_64 binary.

Check the `docker` folder for details