-
Notifications
You must be signed in to change notification settings - Fork 744
/
pom.xml
190 lines (184 loc) · 8.56 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?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.11-SNAPSHOT</version>
</parent>
<groupId>org.bytedeco</groupId>
<artifactId>scipy</artifactId>
<version>1.14.1-${project.parent.version}</version>
<name>JavaCPP Presets for SciPy</name>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy</artifactId>
<version>2.1.3-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
</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>numpy</artifactId>
<version>2.1.3-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.28-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cpython</artifactId>
<version>3.13.0-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy</artifactId>
<version>2.1.3-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
</dependencies>
<configuration>
<encoding>ISO-8859-1</encoding>
<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}/../cpython/cppbuild/${javacpp.platform}/include/python3.13/</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}/python/numpy/_core/include/</includePath>
<includePath>${basedir}/../numpy/cppbuild/${javacpp.platform}/python/numpy/_core/include/numpy/</includePath>
</includePaths>
<linkPaths>
<linkPath>${basedir}/../openblas/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/lib/</linkPath>
<linkPath>${basedir}/../cpython/cppbuild/${javacpp.platform}/libs/</linkPath>
<linkPath>${basedir}/../numpy/cppbuild/${javacpp.platform}/python/numpy/_core/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>
<preloadPath>${basedir}/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/numpy/${javacpp.platform}/</buildResource>
<buildResource>/org/bytedeco/cpython/${os.name}-${os.arch}/</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/cpython/${javacpp.platform}/include/python3.13/</includeResource>
<includeResource>/org/bytedeco/numpy/include/</includeResource>
<includeResource>/org/bytedeco/numpy/${javacpp.platform}/python/numpy/_core/include/</includeResource>
<includeResource>/org/bytedeco/numpy/${javacpp.platform}/python/numpy/_core/include/numpy/</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}/python/numpy/_core/lib/</linkResource>
</linkResources>
</configuration>
<executions>
<execution>
<id>javacpp-parser</id>
<configuration>
<classOrPackageName>org.bytedeco.scipy.presets.scipy</classOrPackageName>
</configuration>
</execution>
<execution>
<id>javacpp-compiler</id>
<configuration>
<classOrPackageName>org.bytedeco.scipy.**</classOrPackageName>
</configuration>
</execution>
</executions>
</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>
<!-- We need a host version of CPython when cross-compiling -->
<profiles>
<profile>
<id>scipy-cross-compile</id>
<activation>
<property>
<name>javacpp.platform.compiler</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cpython</artifactId>
<version>3.13.0-${project.parent.version}</version>
<classifier>${os.name}-${os.arch}</classifier>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>