piiswrong closed pull request #10843: fix a bug in prepare_mkldnn.sh for mac URL: https://github.com/apache/incubator-mxnet/pull/10843
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/prepare_mkldnn.sh b/prepare_mkldnn.sh index 828cfe107ed..9b11b4ac6fd 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" ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services