$ brew install cmake $ brew update cmake$ brew install openssl $ export CPPFLAGS=”-I/usr/local/opt/openssl/include” $ export LDFLAGS=”-L/usr/local/opt/openssl/lib” $ git clone https://github.com/mongodb/mongo-cxx-driver.git --branch releases/stable --depth 1 $ cd mongo-cxx-driver/build $ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local $ make $ sudo make install $ xcode-select –-install $ ruby –e “$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” $ git clone https://github.com/eosio/eos --recursive
$ cd eos
$ git checkout DAWN-2018-02-14
$ git submodule update –recursive
$ git submodule init
$ git submodule update
$ cmake -DEOS_LIBBSONCXX=/usr/local/lib/libbsoncxx.dylib -DEOS_LIBMONGOCXX=/usr/local/lib/libmongocxx.dylib
$ ./build.sh darwin