frankfliu commented on a change in pull request #13493: [MXNET-1224]: improve
scala maven jni build.
URL: https://github.com/apache/incubator-mxnet/pull/13493#discussion_r240711042
##########
File path: scala-package/init-native/linux-x86_64/pom.xml
##########
@@ -62,22 +66,24 @@
<compilerStartOption>-std=c++0x</compilerStartOption>
</compilerStartOptions>
<compilerEndOptions>
-
<compilerEndOption>-I${project.basedir}/../../../include</compilerEndOption>
- <compilerEndOption>${all_includes}</compilerEndOption>
- <compilerEndOption>${cflags}</compilerEndOption>
+ <compilerEndOption>-I${MXNET_DIR}/include</compilerEndOption>
+
<compilerEndOption>-I${MXNET_DIR}/3rdparty/dmlc-core/include</compilerEndOption>
+
<compilerEndOption>-I${MXNET_DIR}/3rdparty/mshadow</compilerEndOption>
+
<compilerEndOption>-I${MXNET_DIR}/3rdparty/dlpack/include</compilerEndOption>
+
<compilerEndOption>-I${MXNET_DIR}/3rdparty/tvm/nnvm/include</compilerEndOption>
+ <compilerEndOption>-DMSHADOW_USE_MKL=0
-DMSHADOW_USE_CUDA=0</compilerEndOption>
Review comment:
Added a README.md file to describe compiler and linker flags.
----------------------------------------------------------------
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