Skip to content

Commit

Permalink
fix c complier to clang (apache#13778)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyu-intel authored and rondogency committed Jan 9, 2019
1 parent 827a567 commit a398635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MKLDNN_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion docs/install/osx_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a398635

Please sign in to comment.