You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/01/07 08:03:52 UTC

[GitHub] szha closed pull request #13778: Fix document for building with MKL-DNN on OS X (Mac)

szha closed pull request #13778: Fix document for building with MKL-DNN on OS X (Mac)
URL: https://github.com/apache/incubator-mxnet/pull/13778
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/MKLDNN_README.md b/MKLDNN_README.md
index 6b25fee8519..ecb721e5fff 100644
--- a/MKLDNN_README.md
+++ b/MKLDNN_README.md
@@ -78,7 +78,7 @@ cd incubator-mxnet
 ### Build MXNet with MKL-DNN
 
 ```
-LIBRARY_PATH=$(brew --prefix llvm)/lib/ make -j $(sysctl -n hw.ncpu) CC=$(brew --prefix llvm)/bin/clang++ CXX=$(brew --prefix llvm)/bin/clang++ USE_OPENCV=1 USE_OPENMP=1 USE_MKLDNN=1 USE_BLAS=apple USE_PROFILER=1
+LIBRARY_PATH=$(brew --prefix llvm)/lib/ make -j $(sysctl -n hw.ncpu) CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ USE_OPENCV=1 USE_OPENMP=1 USE_MKLDNN=1 USE_BLAS=apple USE_PROFILER=1
 ```
 
 <h2 id="3">Windows</h2>
diff --git a/docs/install/osx_setup.md b/docs/install/osx_setup.md
index 95efb75abc2..7d90d3d456f 100644
--- a/docs/install/osx_setup.md
+++ b/docs/install/osx_setup.md
@@ -96,7 +96,7 @@ The file called ```osx.mk``` has the configuration required for building MXNet o
 To build with MKLDNN
 
 ```bash
-echo "CC=$(brew --prefix llvm)/bin/clang++" >> ./config.mk
+echo "CC=$(brew --prefix llvm)/bin/clang" >> ./config.mk
 echo "CXX=$(brew --prefix llvm)/bin/clang++" >> ./config.mk
 echo "USE_OPENCV=1" >> ./config.mk
 echo "USE_OPENMP=1" >> ./config.mk


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services