Skip to content

Commit

Permalink
Add explicit dependency on libnd4j in nd4j-backend-impls (#6921)
Browse files Browse the repository at this point in the history
* Add explicit dependency on libnd4j in nd4j-backend-impls

* Move libnd4j dependency into backends themselves and use appropriate classifier
  • Loading branch information
treo authored and raver119 committed Jan 4, 2019
1 parent 7e410db commit d5465b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nd4j/nd4j-backends/nd4j-backend-impls/nd4j-cuda/pom.xml
Expand Up @@ -227,6 +227,14 @@
<version>${cuda.version}-${cudnn.version}-${javacpp-presets.cuda.version}</version>
<classifier>${dependency.platform}</classifier>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>libnd4j</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>${javacpp.platform}-cuda-${cuda.version}</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml
Expand Up @@ -79,6 +79,14 @@
<version>${mkl-dnn.javacpp.version}</version>
<classifier>${dependency.platform2}</classifier>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>libnd4j</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>${dependency.platform}</classifier>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.nd4j</groupId>
Expand Down

0 comments on commit d5465b0

Please sign in to comment.