summaryrefslogtreecommitdiffstats
path: root/doc/compile_macOS.md
diff options
context:
space:
mode:
authorBrian Recchia <brian@recchia.name>2018-01-02 16:09:40 -0500
committerBrian Recchia <brian@recchia.name>2018-01-04 10:33:14 -0500
commitd01bab0cd73181353cbc8ae61ec5712b06fcb775 (patch)
tree2aff66eccdfea83f9a3d8a26ba48cddcc3625ebd /doc/compile_macOS.md
parent39f0e9c25641428798007e80a29000cd3fd142aa (diff)
downloadxmr-stak-d01bab0cd73181353cbc8ae61ec5712b06fcb775.zip
xmr-stak-d01bab0cd73181353cbc8ae61ec5712b06fcb775.tar.gz
Update minethd.cpp
Changed capitalization of "macOS" Squashed the commit
Diffstat (limited to 'doc/compile_macOS.md')
-rw-r--r--doc/compile_macOS.md31
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)
OpenPOWER on IntegriCloud