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 2018/06/28 23:17:23 UTC

[incubator-mxnet] branch master updated: fix. (#11471)

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 4cdc150  fix. (#11471)
4cdc150 is described below

commit 4cdc150af8250665b7880f8fbda830eb26476fb7
Author: Da Zheng <zh...@gmail.com>
AuthorDate: Thu Jun 28 16:17:17 2018 -0700

    fix. (#11471)
---
 mkldnn.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mkldnn.mk b/mkldnn.mk
index f17fdbc..1be0704 100644
--- a/mkldnn.mk
+++ b/mkldnn.mk
@@ -32,9 +32,9 @@ endif
 
 .PHONY: mkldnn mkldnn_clean
 
-mkldnn_build: $(MKLDNNROOT)/lib/libmkldnn.so
+mkldnn_build: $(MKLDNN_LIBFILE)
 
-$(MKLDNNROOT)/lib/libmkldnn.so:
+$(MKLDNN_LIBFILE):
 	mkdir -p $(MKLDNNROOT)
 	cd $(MKLDNN_SUBMODDIR) && rm -rf external && cd scripts && ./prepare_mkl.sh && cd .. && cp -a external/*/* $(MKLDNNROOT)/.
 	cmake $(MKLDNN_SUBMODDIR) -DCMAKE_INSTALL_PREFIX=$(MKLDNNROOT) -B$(MKLDNN_BUILDDIR) -DARCH_OPT_FLAGS="-mtune=generic" -DWITH_TEST=OFF -DWITH_EXAMPLE=OFF