I have an iMac with a R9 M395 2048 MB for its GPU. I know mac normally has nvidia GPUs nowadays but somehow this one had a mac AMD gpu.
Is there someway I can compile a linux or windows based AMD GPU miner to run on my mac?
Try the following:
brew install openssl libmicrohttpd git clone -b dev https://github.com/fireice-uk/xmr-stak-amd cd xmr-stak-amd mkdir build && cd build cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include/ .. make
It may be necessary to insert the following line in
To run the executable:
cp bin/xmr-stak-amd .. cd .. ./xmr-stak-amd config.txt
Note that the
config.txt file and the
opencl folder should be on the same location as the executable
You'd need to tweak the
config.txt file to figure out the best setting for your GPU. To get you started, I've posted below the worst performing setting that should work on any GPU:
Relevant post on Reddit: