-
Notifications
You must be signed in to change notification settings - Fork 741
/
pom.xml
138 lines (133 loc) · 6.68 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-presets</artifactId>
<version>1.5.10-SNAPSHOT</version>
</parent>
<groupId>org.bytedeco</groupId>
<artifactId>pytorch</artifactId>
<version>2.1.2-${project.parent.version}</version>
<name>JavaCPP Presets for PyTorch</name>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.26-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy</artifactId>
<version>1.26.3-${project.parent.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas-platform</artifactId>
<version>0.3.26-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy-platform</artifactId>
<version>1.26.3-${project.parent.version}</version>
</dependency>
</dependencies>
<configuration>
<classPaths>
<classPath>${basedir}/../openblas/target/classes/</classPath>
<classPath>${basedir}/../cpython/target/classes/</classPath>
<classPath>${basedir}/../numpy/target/classes/</classPath>
<classPath>${project.build.outputDirectory}</classPath>
</classPaths>
<includePaths>
<includePath>${basedir}/../openblas/src/main/resources/org/bytedeco/openblas/include/</includePath>
<includePath>${basedir}/../openblas/target/classes/org/bytedeco/openblas/include/</includePath>
<includePath>${basedir}/../openblas/cppbuild/${javacpp.platform}/include/</includePath>
<includePath>${basedir}/../cpython/src/main/resources/org/bytedeco/cpython/include/</includePath>
<includePath>${basedir}/../cpython/target/classes/org/bytedeco/cpython/include/</includePath>
<includePath>${basedir}/../cpython/cppbuild/${javacpp.platform}/include/</includePath>
<includePath>${basedir}/../numpy/src/main/resources/org/bytedeco/numpy/include/</includePath>
<includePath>${basedir}/../numpy/target/classes/org/bytedeco/numpy/include/</includePath>
<includePath>${basedir}/../numpy/cppbuild/${javacpp.platform}/include/</includePath>
<includePath>${basedir}/cppbuild/${javacpp.platform}${javacpp.platform.extension}/include/torch/csrc/api/include/</includePath>
<includePath>${basedir}/cppbuild/${javacpp.platform}${javacpp.platform.extension}/include/</includePath>
<includePath>${basedir}/target/classes/org/bytedeco/${javacpp.packageName}/include/</includePath>
</includePaths>
<linkPaths>
<linkPath>${basedir}/../openblas/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/../numpy/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/cppbuild/${javacpp.platform}${javacpp.platform.extension}/lib/</linkPath>
</linkPaths>
<preloadPaths>
<preloadPath>${basedir}/../openblas/cppbuild/${javacpp.platform}/bin/</preloadPath>
<preloadPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/bin/</preloadPath>
<preloadPath>${basedir}/../numpy/cppbuild/${javacpp.platform}/bin/</preloadPath>
</preloadPaths>
<buildResources>
<buildResource>/${javacpp.platform.library.path}/</buildResource>
<buildResource>/org/bytedeco/openblas/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/cpython/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/mkldnn/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/numpy/${javacpp.platform}/</buildResource>
</buildResources>
<includeResources>
<includeResource>/${javacpp.platform.library.path}/include/</includeResource>
<includeResource>/org/bytedeco/openblas/include/</includeResource>
<includeResource>/org/bytedeco/openblas/${javacpp.platform}/include/</includeResource>
<includeResource>/org/bytedeco/cpython/include/</includeResource>
<includeResource>/org/bytedeco/cpython/${javacpp.platform}/include/</includeResource>
<includeResource>/org/bytedeco/numpy/include/</includeResource>
<includeResource>/org/bytedeco/numpy/${javacpp.platform}/include/</includeResource>
</includeResources>
<linkResources>
<linkResource>/${javacpp.platform.library.path}/</linkResource>
<linkResource>/${javacpp.platform.library.path}/lib/</linkResource>
<linkResource>/org/bytedeco/openblas/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/openblas/${javacpp.platform}/lib/</linkResource>
<linkResource>/org/bytedeco/cpython/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/cpython/${javacpp.platform}/lib/</linkResource>
<linkResource>/org/bytedeco/cpython/${javacpp.platform}/libs/</linkResource>
<linkResource>/org/bytedeco/numpy/${javacpp.platform}/</linkResource>
<linkResource>/org/bytedeco/numpy/${javacpp.platform}/lib/</linkResource>
</linkResources>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>