apeforest commented on a change in pull request #14535: [DOC] Updated install 
instructions for mac
URL: https://github.com/apache/incubator-mxnet/pull/14535#discussion_r283152608
 
 

 ##########
 File path: docs/install/osx_setup.md
 ##########
 @@ -89,25 +92,31 @@ Install the dependencies, required for MXNet, with the 
following commands:
        # Get pip
        easy_install pip
        # For visualization of network graphs
-       pip install graphviz
+       pip3 install graphviz
        # Jupyter notebook
-       pip install jupyter
+       pip3 install jupyter
 ```
 
 ### Build MXNet Shared Library
 After you have installed the dependencies, pull the MXNet source code from Git 
and build MXNet to produce an MXNet library called ```libmxnet.so```. You can 
clone the repository as described in the following code block, or you may try 
the <a href="download.html">download links</a> for your desired MXNet version.
 
-The file called ```osx.mk``` has the configuration required for building MXNet 
on OS X. First copy ```make/osx.mk``` into ```config.mk```, which is used by 
the ```make``` command:
-
 ```bash
-    git clone --recursive https://github.com/apache/incubator-mxnet ~/mxnet
-    cd ~/mxnet
-    cp make/osx.mk ./config.mk
-    echo "USE_BLAS = openblas" >> ./config.mk
-    echo "ADD_CFLAGS += -I/usr/local/opt/openblas/include" >> ./config.mk
-    echo "ADD_LDFLAGS += -L/usr/local/opt/openblas/lib" >> ./config.mk
-    echo "ADD_LDFLAGS += -L/usr/local/lib/graphviz/" >> ./config.mk
-    make -j$(sysctl -n hw.ncpu)
+git clone --recursive https://github.com/apache/incubator-mxnet ~/mxnet
+cd ~/mxnet && pushd .
+mkdir build && cd build
+cmake \
+    -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+    -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+    -DUSE_MKL_IF_AVAILABLE=OFF \
 
 Review comment:
   Can we remove unnecessary flags and make this single line? Copy and paste 
multiple lines is not user-friendly in bash.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to