Skip to content

Commit

Permalink
* Bundle configuration files required by AOT compilation with GraalV…
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Jun 8, 2020
1 parent 0d3d6da commit 138f4f7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Bundle configuration files required by AOT compilation with GraalVM ([issue eclipse/deeplearning4j#7362](https://github.com/eclipse/deeplearning4j/issues/7362))
* Add support for Windows to presets for Qt ([issue #862](https://github.com/bytedeco/javacpp-presets/issues/862))
* Fix JPMS modules for CUDA, ARPACK-NG, GSL, SciPy, Gym, MXNet ([pull #880](https://github.com/bytedeco/javacpp-presets/pull/880) and [pull #881](https://github.com/bytedeco/javacpp-presets/pull/881))
* Build OpenBLAS with a `TARGET` even for `DYNAMIC_ARCH` to avoid SIGILL ([issue eclipse/deeplearning4j#8747](https://github.com/eclipse/deeplearning4j/issues/8747))
Expand Down
2 changes: 2 additions & 0 deletions cuda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<classifier>${javacpp.platform}</classifier>
<includes>
<include>org/bytedeco/cuda/${javacpp.platform}/*jni*</include>
<include>META-INF/native-image/${javacpp.platform}/</include>
</includes>
</configuration>
</execution>
Expand All @@ -60,6 +61,7 @@
<classesDirectory>${project.build.directory}/native</classesDirectory>
<includes>
<include>org/bytedeco/cuda/${javacpp.platform}/</include>
<include>META-INF/native-image/${javacpp.platform}/</include>
</includes>
<excludes>
<exclude>org/bytedeco/cuda/${javacpp.platform}/*jni*</exclude>
Expand Down
2 changes: 2 additions & 0 deletions mkl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<classifier>${javacpp.platform}</classifier>
<includes>
<include>org/bytedeco/mkl/${javacpp.platform}/*jni*</include>
<include>META-INF/native-image/${javacpp.platform}/</include>
</includes>
</configuration>
</execution>
Expand All @@ -60,6 +61,7 @@
<classesDirectory>${project.build.directory}/native</classesDirectory>
<includes>
<include>org/bytedeco/mkl/${javacpp.platform}/</include>
<include>META-INF/native-image/${javacpp.platform}/</include>
</includes>
<excludes>
<exclude>org/bytedeco/mkl/${javacpp.platform}/*jni*</exclude>
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@
<classOrPackageName>org.bytedeco.${javacpp.packageName}.**</classOrPackageName>
<copyLibs>true</copyLibs>
<copyResources>true</copyResources>
<configDirectory>${project.build.directory}/native/META-INF/native-image/${javacpp.platform}${javacpp.platform.extension}/</configDirectory>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -351,6 +352,7 @@
without cleaning, ensures we only include files for
this platform. -->
<include>${javacpp.platform.nativeOutputPath}/</include>
<include>META-INF/native-image/${javacpp.platform}${javacpp.platform.extension}/</include>
</includes>
<archive>
<manifestEntries>
Expand Down
2 changes: 2 additions & 0 deletions tensorrt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<classifier>${javacpp.platform}</classifier>
<includes>
<include>org/bytedeco/tensorrt/${javacpp.platform}/*jni*</include>
<include>META-INF/native-image/${javacpp.platform}/</include>
</includes>
</configuration>
</execution>
Expand All @@ -78,6 +79,7 @@
<classesDirectory>${project.build.directory}/native</classesDirectory>
<includes>
<include>org/bytedeco/tensorrt/${javacpp.platform}/</include>
<include>META-INF/native-image/${javacpp.platform}/</include>
</includes>
<excludes>
<exclude>org/bytedeco/tensorrt/${javacpp.platform}/*jni*</exclude>
Expand Down

0 comments on commit 138f4f7

Please sign in to comment.