Skip to content

Test EMP Natively on M1 Chip

Xiao Wang edited this page Dec 4, 2020 · 4 revisions

The latest version of EMP supports x86 and ARM. Here is the instruction to try it out on M1 chip of apple. Ubuntu on ARM can run directly using the normal installation procedure

Install homebrew

Brew does not fully support ARM yet, but good enough for EMP to run for now. Following https://docs.brew.sh/Installation:

  1. cd /opt
  2. mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
  3. You may need sudo chown -R $(whoami) /opt/homebrew
  4. add /opt/homebrew/bin and /opt/homebrew/opt to /etc/paths
  5. brew update && brew install openssl cmake

Install emp-tool.

Other repos are similar. emp-ot, emp-sh2pc, emp-ag2pc are all supported right now

  1. git clone https://github.com/emp-toolkit/emp-tool.git
  2. cmake -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl .
  3. make
Clone this wiki locally