lanking520 commented on issue #13096: [Scala] `make scalapkg` fails if MKL-DNN 
is used
URL: 
https://github.com/apache/incubator-mxnet/issues/13096#issuecomment-439717074
 
 
   Hi All here is an update with Mac build instruction
   ```
   make -j4 USE_MKLDNN=1 USE_BLAS=openblas
   ```
   change `Makefile` line 145:
   ```
   -    LDFLAGS += -L$(MKLDNNROOT)/lib -lmkldnn -Wl,-rpath,'$${ORIGIN}'
   +    LDFLAGS += -L$(MKLDNNROOT)/lib -lmkldnn -Wl,-rpath,$(MKLROOT)/lib
   ```
   ```
   make scalapkg USE_MKLDNN=1
   make scalaunittest USE_MKLDNN=1
   ```
   I can make Scala work in this way. @zheng-da Could you please take a look 
here? What will be the influence if I made this change? When I build the Scala 
package, `'$${ORIGIN}'` return an empty string
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to