Note: This has only been confirmed to work on OS X Sierra (10.12) and OS X High Sierra (10.13) with XCode 9.2 and
Apple LLVM version 9.0.0 (clang-900.0.39.2)
.
-
Ensure you have git installed
brew install git
-
Clone VERGE repository
git clone --recurse-submodules https://github.com/vergecurrency/VERGE
-
Ensure you have mysql and boost installed.
brew install mysql boost
-
Ensure you have python 2.7 installed and in your path (OS X comes with this by default)
python --version
-
Export the required environment variables
export VERGE_PLATFORM='mac' export CXX=clang++ export CC=clang
-
Run your build commands
./building/common.sh ./building/mac/requirements.sh ./building/mac/build.sh
-
Grab a ☕ and wait it out
-
Create the
.dmg
file./building/mac/dist.sh