macOS build

Preparation

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

Build