Files
xmr-stak/doc/compile_macOS.md
T
Brian Recchia d01bab0cd7 Update minethd.cpp
Changed capitalization of "macOS"

Squashed the commit
2018-01-04 10:33:14 -05:00

1.0 KiB

Compile xmr-stak for macOS

Dependencies

Assuming you already have Homebrew installed, the installation of dependencies is pretty straightforward and will generate the xmr-stak binary in the bin/ directory.

For NVIDIA GPUs

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

For AMD GPUs

🖐 We need help with AMD GPU compilation instructions. Please submit a PR if you managed to install AMD APP SDK and to compile xmr-stak on macOS.

For CPU-only mining

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