kohr-h commented on issue #13096: [Scala] `make scalapkg` fails if MKL-DNN is used URL: https://github.com/apache/incubator-mxnet/issues/13096#issuecomment-435579280 Sure, here's the steps (I'm on Ubuntu Linux): 0. Install the prerequisites 1. Build the core library: ```bash $ make -j $(nproc) USE_OPENCV=1 USE_BLAS=mkl USE_MKLDNN=1 ``` After that we have the following contents in the `lib/` directory: ```bash $ ls lib libiomp5.so libmkldnn.so.0 libmklml_intel.so libmxnet.a libmxnet.so ``` 2. Run `make scalapkg` This will trigger the original error. **Note:** I saw that the [documentation on building from source](https://mxnet.apache.org/install/ubuntu_setup.html#manual-mxnet-installation) recommends amending `LD_LIBRARY_PATH`, so the missing piece is the propagation of the `LDFLAGS` to the Maven build.
---------------------------------------------------------------- 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
