Skip to content

Instantly share code, notes, and snippets.

@Dalboz
Dalboz / macOS.sh
Last active March 10, 2018 16:33 — forked from neewy/macOS.sh
How to install dependencies for Iroha, clone and build the project in development branch
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/homebrew/install/master/install)" # if you dont't have brew installed
brew install cmake boost postgres grpc autoconf automake libtool golang libpqxx rapidjson
# check boost linking
git clone https://github.com/hyperledger/iroha -b develop
cd iroha
cmake -H. -Bbuild -DBoost_DEBUG=ON # watch for config errors !
cmake --build build -- -j2 #Check number of logical cores with sysctl -n hw.ncpu and use this number