From 91a2dccb4f63ceea149cc74d36fea5a19681304d Mon Sep 17 00:00:00 2001
From: Michael Hohl <me@michaelhohl.net>
Date: Wed, 10 Jan 2018 20:31:15 +0100
Subject: [PATCH] AMD compile instructions for macOS (#811)

* compile howto on amd mac

tested on the latest 15" MacBook Pro

* Add a note about OpenCL/Xcode
---
 doc/compile_macOS.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/compile_macOS.md b/doc/compile_macOS.md
index 6eb66b3..46f1d5b 100644
--- a/doc/compile_macOS.md
+++ b/doc/compile_macOS.md
@@ -18,7 +18,13 @@ make install
 
 ### 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.
+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
 
-- 
GitLab