diff options
Diffstat (limited to 'doc/compile_macOS.md')
-rw-r--r-- | doc/compile_macOS.md | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/doc/compile_macOS.md b/doc/compile_macOS.md deleted file mode 100644 index 46f1d5b..0000000 --- a/doc/compile_macOS.md +++ /dev/null @@ -1,37 +0,0 @@ -# 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 - -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 - -```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) |