This is an automated email from the ASF dual-hosted git repository.
skm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 3b5b2b2 R install instructions update for macOS (#12832)
3b5b2b2 is described below
commit 3b5b2b2e9d6d538833636abf1cb95de1fb3b4650
Author: Aaron Markham <[email protected]>
AuthorDate: Tue Oct 16 16:01:27 2018 -0700
R install instructions update for macOS (#12832)
* add prereqs for R installation on Mac
* pin openblas for mac R install to 0.3.1
---
docs/install/index.md | 14 +++++++++++++-
docs/install/osx_setup.md | 12 ++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/docs/install/index.md b/docs/install/index.md
index 109a440..fc13697 100644
--- a/docs/install/index.md
+++ b/docs/install/index.md
@@ -142,7 +142,7 @@ $ pip install mxnet --pre
</div> <!-- End of master-->
<hr> <!-- pip footer -->
MXNet offers MKL pip packages that will be much faster when running on Intel
hardware.
-Check the chart below for other options, refer to <a
href="https://pypi.org/project/mxnet/">PyPI for other MXNet pip packages</a>,
or <a href="validate_mxnet.html">validate your MXNet installation</a>.
+Check the chart below for other options, refer to <a
href="https://pypi.org/project/mxnet/">PyPI for other MXNet pip packages</a>,
or <a href="validate_mxnet.html">validate your MXNet installation</a>.
<img
src="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/install/pip-packages-1.3.0.png"
alt="pip packages"/>
@@ -597,6 +597,18 @@ MXNet developers should refer to the MXNet wiki's <a
href="https://cwiki.apache.
<div class="r">
<div class="cpu">
</br>
+Install OpenCV and OpenBLAS.
+
+```bash
+brew install opencv
+brew install [email protected]
+```
+
+Add a soft link to the OpenBLAS installation. This example links the 0.3.1
version:
+
+```bash
+ln -sf /usr/local/opt/openblas/lib/libopenblasp-r0.3.*
/usr/local/opt/openblas/lib/libopenblasp-r0.3.1.dylib
+```
Install the latest version (3.5.1+) of R from
[CRAN](https://cran.r-project.org/bin/macosx/).
You can [build MXNet-R from
source](osx_setup.html#install-the-mxnet-package-for-r), or you can use a
pre-built binary:
diff --git a/docs/install/osx_setup.md b/docs/install/osx_setup.md
index 9355dbe..4e9293e 100644
--- a/docs/install/osx_setup.md
+++ b/docs/install/osx_setup.md
@@ -134,6 +134,18 @@ You have 2 options:
2. Building MXNet from Source Code
### Building MXNet with the Prebuilt Binary Package
+Install OpenCV and OpenBLAS.
+
+```bash
+brew install opencv
+brew install [email protected]
+```
+
+Add a soft link to the OpenBLAS installation. This example links the 0.3.1
version:
+
+```bash
+ln -sf /usr/local/opt/openblas/lib/libopenblasp-r0.3.*
/usr/local/opt/openblas/lib/libopenblasp-r0.3.1.dylib
+```
Install the latest version (3.5.1+) of R from
[CRAN](https://cran.r-project.org/bin/macosx/).
For OS X (Mac) users, MXNet provides a prebuilt binary package for CPUs. The
prebuilt package is updated weekly. You can install the package directly in the
R console using the following commands: