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/08/02 21:36:38 UTC

[GitHub] nswamy closed pull request #11996: Update script used for building OSX maven packages in v1.2.0

nswamy closed pull request #11996: Update script used for building OSX maven packages in v1.2.0
URL: https://github.com/apache/incubator-mxnet/pull/11996
 
 
   

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/scala-package/dev/compile-mxnet-backend.sh b/scala-package/dev/compile-mxnet-backend.sh
index 43517fc826d..3e2554fd94b 100755
--- a/scala-package/dev/compile-mxnet-backend.sh
+++ b/scala-package/dev/compile-mxnet-backend.sh
@@ -23,7 +23,7 @@
 set -e
 echo "Compiling MXNet Backend, Hang tight!....."
 
-if [[ ($# -ne 3) || ( $1 == "--help") ||  $1 == "-h" ]]; then
+if [[ ($# -ne 2) || ( $1 == "--help") ||  $1 == "-h" ]]; then
   echo "Usage: [-h|--help]  <osx-x86_64-cpu/linux-x86_64-cpu/linux-x86_64-gpu> <project.basedir>" 1>&2
   exit 1
 fi
@@ -57,9 +57,9 @@ cp make/config.mk ./config.mk
 if [[ $PLATFORM == "osx-x86_64-cpu" ]];
 then
     echo "Building MXNet Backend on MAC OS"
-    echo "ADD_CFLAGS += -I/usr/local/opt/opencv@2/include" >> ./config.mk
+    echo "ADD_CFLAGS += -I/usr/local/opt/opencv/include" >> ./config.mk
     echo "ADD_CFLAGS += -I/usr/local/opt/openblas/include" >> ./config.mk
-    echo "ADD_LDFLAGS += -L/usr/local/opt/opencv@2/lib" >> ./config.mk
+    echo "ADD_LDFLAGS += -L/usr/local/opt/opencv/lib" >> ./config.mk
     echo "ADD_LDFLAGS += -L/usr/local/opt/openblas/lib" >> ./config.mk
     echo "USE_OPENMP = 0" >> ./config.mk
     echo "USE_LAPACK_PATH = /usr/local/opt/lapack/lib" >> ./config.mk


 

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