forked from steemit/steem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request steemit#3226 from economicstudio/fix-macos-build-i…
…nstruction Fix MacOS build instruction
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -185,12 +185,15 @@ Install Homebrew by following the instructions here: http://brew.sh/ | |
openssl \ | ||
snappy \ | ||
zlib \ | ||
bzip2 \ | ||
python3 | ||
pip3 install --user jinja2 | ||
|
||
Note: brew recently updated to boost 1.61.0, which is not yet supported by | ||
steem. Until then, this will allow you to install boost 1.60.0. | ||
You may also need to install zlib and bzip2 libraries manually. | ||
In that case, change the directories for `export` accordingly. | ||
|
||
*Optional.* To use TCMalloc in LevelDB: | ||
|
||
|
@@ -208,11 +211,11 @@ steem. Until then, this will allow you to install boost 1.60.0. | |
|
||
### Compile | ||
|
||
export OPENSSL_ROOT_DIR=$(brew --prefix)/Cellar/openssl/1.0.2h_1/ | ||
export BOOST_ROOT=$(brew --prefix)/Cellar/[email protected]/1.60.0/ | ||
export SNAPPY_LIBRARIES=$(brew --prefix)/Cellar/snappy/1.1.7_1/lib/ | ||
export SNAPPY_INCLUDE_DIR=$(brew --prefix)/Cellar/snappy/1.1.7_1/include/ | ||
export ZLIB_LIBRARIES=$(brew --prefix)/Cellar/zlib/1.2.11/lib/ | ||
export OPENSSL_ROOT_DIR=$(brew --prefix)/Cellar/openssl/1.0.2q/ | ||
export SNAPPY_ROOT_DIR=$(brew --prefix)/Cellar/snappy/1.1.7_1 | ||
export ZLIB_ROOT_DIR=$(brew --prefix)/Cellar/zlib/1.2.11 | ||
export BZIP2_ROOT_DIR=$(brew --prefix)/Cellar/bzip2/1.0.6_1 | ||
git checkout stable | ||
git submodule update --init --recursive | ||
mkdir build && cd build | ||
|