This is an automated email from the ASF dual-hosted git repository.

skm 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 44f4ebd  fix nproc arg (#10404)
44f4ebd is described below

commit 44f4ebd5f49ad19f82f698a7e3411998ba6947ff
Author: jesterhazy <jonathan.esterh...@gmail.com>
AuthorDate: Wed Apr 4 15:00:12 2018 -0700

    fix nproc arg (#10404)
---
 prepare_mkldnn.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/prepare_mkldnn.sh b/prepare_mkldnn.sh
index df5e9b9..828cfe1 100755
--- a/prepare_mkldnn.sh
+++ b/prepare_mkldnn.sh
@@ -89,7 +89,7 @@ if [ ! -f $MKLDNN_LIBFILE ]; then
     if [ -z $MKLROOT ] && [ ! -f $MKLDNN_INSTALLDIR/include/mkl_cblas.h ]; then
         rm -rf external && cd scripts && ./prepare_mkl.sh >&2 && cd ..
         cp -a external/*/* $MKLDNN_INSTALLDIR/.
-    fi 
+    fi
     echo "Building MKLDNN ..." >&2
     cd $MXNET_ROOTDIR
        g++ --version >&2
@@ -102,7 +102,7 @@ if [ ! -f $MKLDNN_LIBFILE ]; then
     else
       >&2 echo "Can't discover number of cores."
     fi
-    make -C $MKLDNN_BUILDDIR -j$(NUM_PROC) VERBOSE=1 >&2
+    make -C $MKLDNN_BUILDDIR -j${NUM_PROC} VERBOSE=1 >&2
 
     make -C $MKLDNN_BUILDDIR install >&2
     rm -rf $MKLDNN_BUILDDIR
@@ -114,7 +114,7 @@ fi
 MKLDNNROOT=$MKLDNN_INSTALLDIR
 fi
 
-if [ -z $MKLROOT ] && [ -f $MKLDNNROOT/include/mkl_cblas.h ]; then 
+if [ -z $MKLROOT ] && [ -f $MKLDNNROOT/include/mkl_cblas.h ]; then
   MKLROOT=$MKLDNNROOT;
 fi
 

-- 
To stop receiving notification emails like this one, please contact
s...@apache.org.

Reply via email to