diff --git a/MKLDNN_README.md b/MKLDNN_README.md index 6b25fee85195..ecb721e5fffe 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 ```

Windows

diff --git a/docs/install/osx_setup.md b/docs/install/osx_setup.md index 95efb75abc25..7d90d3d456f6 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