-
Notifications
You must be signed in to change notification settings - Fork 15
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
Brew does not fully support ARM yet, but good enough for EMP to run for now. Following https://docs.brew.sh/Installation:
cd /opt
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
- You may need
sudo chown -R $(whoami) /opt/homebrew
- add
/opt/homebrew/bin
and/opt/homebrew/opt
to/etc/paths
brew update && brew install openssl cmake
Other repos are similar. emp-ot, emp-sh2pc, emp-ag2pc are all supported right now
git clone https://github.com/emp-toolkit/emp-tool.git
cmake -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl .
make