OS X Build

xmrig edited this page Oct 7, 2017 · 2 revisions

OS X

You need Xcode and Homebrew installed.

brew install cmake libuv libmicrohttpd
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake ..
make

Additional CMake options

  • -DWITH_LIBCPUID=OFF Disable libcpuid. Auto configuration of CPU after this will be very limited.
  • -DWITH_AEON=OFF Disable CryptoNight-Lite support.
  • -DWITH_HTTPD=OFF Build without built in http server and API.
  • -DUV_LIBRARY=/usr/local/opt/libuv/lib/libuv.a Use static libuv version.
  • -DMHD_LIBRARY=/usr/local/opt/libmicrohttpd/lib/libmicrohttpd.a Use static libmicrohttpd version.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.