diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-01-08 00:28:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-08 00:28:32 +0000 |
commit | d015a3d01ebc8ebdb5a0bdcded17f977ceb70ad3 (patch) | |
tree | ea018aaeaf0659ed8965ecf7b5db22d64774c87a /doc/compile_macOS.md | |
parent | 4fc621cfccb346f9073943288a0fcbf56aaad39c (diff) | |
parent | d01bab0cd73181353cbc8ae61ec5712b06fcb775 (diff) | |
download | xmr-stak-d015a3d01ebc8ebdb5a0bdcded17f977ceb70ad3.zip xmr-stak-d015a3d01ebc8ebdb5a0bdcded17f977ceb70ad3.tar.gz |
Merge pull request #778 from b-/patch-2
Rename "MacOS" to "macOS"
Diffstat (limited to 'doc/compile_macOS.md')
-rw-r--r-- | doc/compile_macOS.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/compile_macOS.md b/doc/compile_macOS.md new file mode 100644 index 0000000..6eb66b3 --- /dev/null +++ b/doc/compile_macOS.md @@ -0,0 +1,31 @@ +# Compile **xmr-stak** for macOS + +## Dependencies + +Assuming you already have [Homebrew](https://brew.sh) installed, the installation of dependencies is pretty straightforward and will generate the `xmr-stak` binary in the `bin/` directory. + +### For NVIDIA GPUs + +```shell +brew tap caskroom/drivers +brew cask install nvidia-cuda +brew install hwloc libmicrohttpd gcc openssl cmake +cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOpenCL_ENABLE=OFF +make install +``` + +[All available CMake options](compile.md#nvidia-build-options) + +### 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. + +### For CPU-only mining + +```shell +brew install hwloc libmicrohttpd gcc openssl cmake +cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF +make install +``` + +[All available CMake options](compile.md#cpu-build-options) |