You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2018/05/08 17:08:02 UTC
[incubator-mxnet] branch master updated: fix a bug in
prepare_mkldnn.sh (#10843)
This is an automated email from the ASF dual-hosted git repository.
jxie 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 e573097 fix a bug in prepare_mkldnn.sh (#10843)
e573097 is described below
commit e57309736935f0b092aa6e27a12a7617fefa778c
Author: Da Zheng <zh...@gmail.com>
AuthorDate: Tue May 8 10:07:57 2018 -0700
fix a bug in prepare_mkldnn.sh (#10843)
---
prepare_mkldnn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prepare_mkldnn.sh b/prepare_mkldnn.sh
index 828cfe1..9b11b4a 100755
--- a/prepare_mkldnn.sh
+++ b/prepare_mkldnn.sh
@@ -72,7 +72,7 @@ if [ ! -z "$HOME_MKLDNN" ]; then
fi
fi
-if [ $OSTYPE == "darwin16" ]; then
+if [ $(uname) == "Darwin" ]; then
OMP_LIBFILE="$MKLDNN_INSTALLDIR/lib/libiomp5.dylib"
MKLML_LIBFILE="$MKLDNN_INSTALLDIR/lib/libmklml.dylib"
MKLDNN_LIBFILE="$MKLDNN_INSTALLDIR/lib/libmkldnn.0.dylib"
--
To stop receiving notification emails like this one, please contact
jxie@apache.org.