From 682509deb5c5a501ac26393d7b0ac800a46c8fdb Mon Sep 17 00:00:00 2001 From: CyrusVorwald-ICON <90732384+CyrusVorwald-ICON@users.noreply.github.com> Date: Tue, 16 Nov 2021 12:40:12 -0500 Subject: [PATCH] Added Apple Silicon to build instructions --- doc/build.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/build.md b/doc/build.md index 3d58b189f..5534beaf7 100644 --- a/doc/build.md +++ b/doc/build.md @@ -53,6 +53,14 @@ pip install -r pyee/requirements.txt make ``` +**Mac M1 (Apple silicon)** + +``` +export ROCKSDB_PATH="$(echo) $(brew --prefix rocksdb)" +export SNAPPY_PATH="$(echo) $(brew --prefix snappy)" +CGO_CFLAGS=-I$ROCKSDB_PATH/include CGO_LDFLAGS="-L$ROCKSDB_PATH/lib -L$SNAPPY_PATH/lib" make +``` + Output binaries are placed under `bin/` directory.