mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
AMD compile instructions for macOS (#811)
* compile howto on amd mac tested on the latest 15" MacBook Pro * Add a note about OpenCL/Xcode
This commit is contained in:
committed by
psychocrypt
parent
44b8844d4d
commit
91a2dccb4f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user