JulianSlzr commented on a change in pull request #9353: added mac gpu install; refactored windows install URL: https://github.com/apache/incubator-mxnet/pull/9353#discussion_r162292641
########## File path: docs/install/index.md ########## @@ -698,6 +698,29 @@ Try the **Build from Source** option for now. <div class="build-from-source"> +**Step 1** Install prerequisites - Homebrew, python development tools. + +```bash +# Install Homebrew +$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +$ export PATH=/usr/local/bin:/usr/local/sbin:$PATH + +# Install python development tools - python2.7, pip, python-setuptools +$ brew install python +``` + +**Step 2** Install optional components - OpenCV + +If you want to use OpenCV you should install it first, then build MXNet with the `USE_OPENCV=1` option in the later steps. + +```bash +brew tap homebrew/science +brew install opencv + +``` + +**Step 3** Install CUDA and cuDNN + The following instructions are for CUDA 9.1 and cuDNN 7 for MacOS X 10.12+ and a CUDA-capable GPU. They summarize confirmed successful builds in [#9217](https://github.com/apache/incubator-mxnet/issues/9217). Alternatively, you may follow the [CUDA installation instructions for Mac OS X](https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html). Review comment: The direct URL to Xcode 8.3.3 below will silently fail if you're not logged in. Better to link to https://developer.apple.com/download/more/, as it'll prompt you if you need to log in with your Apple ID. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
