You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2019/01/07 08:04:13 UTC

[incubator-mxnet] branch master updated: fix c complier to clang (#13778)

This is an automated email from the ASF dual-hosted git repository.

zhasheng 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 752cd0c  fix c complier to clang (#13778)
752cd0c is described below

commit 752cd0cad5f4a863bea8ef01df82b5b684976d0e
Author: Xinyu Chen <xi...@intel.com>
AuthorDate: Mon Jan 7 16:03:50 2019 +0800

    fix c complier to clang (#13778)
---
 MKLDNN_README.md          | 2 +-
 docs/install/osx_setup.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MKLDNN_README.md b/MKLDNN_README.md
index 6b25fee..ecb721e 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 95efb75..7d90d3d 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