diff options
-rw-r--r-- | doc/compile_macOS.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/compile_macOS.md b/doc/compile_macOS.md index 6eb66b3..46f1d5b 100644 --- a/doc/compile_macOS.md +++ b/doc/compile_macOS.md @@ -18,7 +18,13 @@ make install ### For AMD GPUs -> 🖐 We need help with AMD GPU compilation instructions. Please submit a PR if you managed to install [AMD APP SDK](http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/) and to compile `xmr-stak` on macOS. +OpenCL is bundled with Xcode, so no other depedency then the basic ones needed. Just enable OpenCL via the `-DOpenCL_ENABLE=ON` CMake option. + +```shell +brew install hwloc libmicrohttpd gcc openssl cmake +cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=ON +make install +``` ### For CPU-only mining |