macOS build

Preparation

  1. Install Homebrew if it not installed already.
  2. Install dependencies: brew install cmake libuv openssl
  3. Clone source code from github: git clone https://github.com/xmrig/xmrig-proxy.git
  4. Create build directory: mkdir xmrig-proxy/build
To update exist (already cloned) source, goto to the build directory and run git pull.

Build

cd xmrig-proxy/build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
make -j$(sysctl -n hw.logicalcpu)