diff options
author | Michael Hohl <me@michaelhohl.net> | 2018-01-10 20:31:15 +0100 |
---|---|---|
committer | psychocrypt <psychocryptHPC@gmail.com> | 2018-01-10 20:31:15 +0100 |
commit | 91a2dccb4f63ceea149cc74d36fea5a19681304d (patch) | |
tree | bfaca2a5322e717f9d0b14d74547477a2331d6dc /doc | |
parent | 44b8844d4dc8fa964b34c4659e1d4aa6509d67d2 (diff) | |
download | xmr-stak-91a2dccb4f63ceea149cc74d36fea5a19681304d.zip xmr-stak-91a2dccb4f63ceea149cc74d36fea5a19681304d.tar.gz |
AMD compile instructions for macOS (#811)
* compile howto on amd mac
tested on the latest 15" MacBook Pro
* Add a note about OpenCL/Xcode
Diffstat (limited to 'doc')
-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 |