macOS build
Preparation
- Install Homebrew if it not installed already.
- Install dependencies:
brew install cmake libuv openssl
- Clone source code from github:
git clone https://github.com/xmrig/xmrig-proxy.git
- 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)