diff --git a/OS-X-Build.md b/OS-X-Build.md new file mode 100644 index 0000000..33d774d --- /dev/null +++ b/OS-X-Build.md @@ -0,0 +1,17 @@ +## OS X +You need **Xcode** and **Homebrew** installed. +``` +brew install cmake libuv +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. +* `-DUV_LIBRARY=/usr/local/opt/libuv/lib/libuv.a` Use static libuv version. \ No newline at end of file