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 2018/09/25 09:11:02 UTC

[GitHub] xinyu-intel commented on issue #12591: USE_MKLDNN=1 is default in make build (mkldnn must be explicitly turned off)

xinyu-intel commented on issue #12591: USE_MKLDNN=1 is default in make build (mkldnn must be explicitly turned off)
URL: https://github.com/apache/incubator-mxnet/pull/12591#issuecomment-424265292
 
 
   Hi @azai91 , you can try the below building method on mac:
   ```
   brew install llvm
   # .bash_profile
   export LIBRARY_PATH=/usr/local/Cellar/llvm/6.0.1/lib/
   # config.mk
   CC=/usr/local/Cellar/llvm/6.0.1/bin/clang CXX=/usr/local/Cellar/llvm/6.0.1/bin/clang++
   # mkldnn.mk L40 before cmake
   CC=/usr/local/Cellar/llvm/6.0.1/bin/clang CXX=/usr/local/Cellar/llvm/6.0.1/bin/clang++
   # makefile
   ifeq ($(USE_OPENMP), 1)
   #             ifneq ($(UNAME_S), Darwin)
                                 CFLAGS += -fopenmp
   #             endif
   Endif
   ```

----------------------------------------------------------------
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