Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[MXNET-748] linker fixed on Scala issues (#11989)
Browse files Browse the repository at this point in the history
* put force load back as a temporary solution

* use project.basedir as relative path for OSX linker
  • Loading branch information
lanking520 authored and nswamy committed Aug 2, 2018
1 parent 564e01a commit 6009b26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scala-package/native/osx-x86_64-cpu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
<linkerMiddleOption>-Wl,-exported_symbol,_Java_*</linkerMiddleOption>
<linkerMiddleOption>-Wl,-x</linkerMiddleOption>
<linkerMiddleOption>${lddeps}</linkerMiddleOption>
<linkerMiddleOption>-force_load ${project.basedir}/../../../lib/libmxnet.a</linkerMiddleOption>
<linkerMiddleOption>-force_load ${project.basedir}/../../../3rdparty/tvm/nnvm/lib/libnnvm.a</linkerMiddleOption>
</linkerMiddleOptions>
<linkerEndOptions>
<linkerEndOption>${ldflags}</linkerEndOption>
Expand Down

0 comments on commit 6009b26

Please sign in to comment.