File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 329
329
</property >
330
330
</activation >
331
331
</profile >
332
+ <profile >
333
+ <id >linux-arm64</id >
334
+ <activation >
335
+ <os >
336
+ <name >linux</name >
337
+ <arch >aarch64</arch >
338
+ </os >
339
+ <property >
340
+ <name >!javacpp.platform.extension</name >
341
+ </property >
342
+ </activation >
343
+ </profile >
332
344
<profile >
333
345
<id >macosx</id >
334
346
<activation >
Original file line number Diff line number Diff line change 131
131
<version >${project.version} </version >
132
132
<classifier >${javacpp.platform.windows-x86_64} </classifier >
133
133
</artifactItem >
134
+ <artifactItem >
135
+ <groupId >${project.groupId} </groupId >
136
+ <artifactId >${project.artifactId}</artifactId >
137
+ <version >${project.version} </version >
138
+ <classifier >${javacpp.platform.linux-arm64} </classifier >
139
+ </artifactItem >
134
140
</artifactItems >
135
141
</configuration >
136
142
</execution >
169
175
<file >${project.build.directory} /${project.artifactId} -${project.version} -${javacpp.platform.windows-x86_64} .jar</file >
170
176
<classifier >${javacpp.platform.windows-x86_64} </classifier >
171
177
</artifact >
178
+ <artifact >
179
+ <file >${project.build.directory} /${project.artifactId} -${project.version} -${javacpp.platform.linux-arm64} .jar</file >
180
+ <classifier >${javacpp.platform.linux-arm64} </classifier >
181
+ </artifact >
172
182
</artifacts >
173
183
</configuration >
174
184
</execution >
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ case ${PLATFORM:-} in
20
20
WHEEL_URL=' https://files.pythonhosted.org/packages/e0/36/6278e4e7e69a90c00e0f82944d8f2713dd85a69d1add455d9e50446837ab/tensorflow_intel-2.16.1-cp311-cp311-win_amd64.whl'
21
21
CLIB_URL=' https://storage.googleapis.com/tensorflow/versions/2.16.1/libtensorflow-cpu-windows-x86_64.zip'
22
22
;;
23
+ ' linux-arm64' )
24
+ WHEEL_URL=' https://files.pythonhosted.org/packages/41/ab/e5386c722548df2043c1eaadc431ea3ba0ee42a66b3af7f8013bbbacecd3/tensorflow-2.16.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl'
25
+ ;;
23
26
* )
24
27
echo " TensorFlow distribution for ${PLATFORM} is not supported for download"
25
28
exit 1;
Original file line number Diff line number Diff line change 43
43
<version >${project.version} </version >
44
44
<classifier >linux-x86_64</classifier >
45
45
</dependency >
46
+ <dependency >
47
+ <groupId >org.tensorflow</groupId >
48
+ <artifactId >tensorflow-core-native</artifactId >
49
+ <version >${project.version} </version >
50
+ <classifier >linux-arm64</classifier >
51
+ </dependency >
46
52
<dependency >
47
53
<groupId >org.tensorflow</groupId >
48
54
<artifactId >tensorflow-core-native</artifactId >
73
79
<configuration >
74
80
<archive >
75
81
<manifestEntries >
76
- <Class-Path >tensorflow-core-api.jar tensorflow-core-native.jar tensorflow-core-native-linux-x86_64.jar tensorflow-core-native-macosx-arm64.jar tensorflow-core-native-macosx-x86_64.jar tensorflow-core-native-windows-x86_64.jar</Class-Path >
82
+ <Class-Path >tensorflow-core-api.jar tensorflow-core-native.jar tensorflow-core-native-linux-x86_64.jar tensorflow-core-native-macosx-arm64.jar tensorflow-core-native-macosx-x86_64.jar tensorflow-core-native-windows-x86_64.jar tensorflow-core-native-linux-arm64.jar </Class-Path >
77
83
<Automatic-Module-Name >${java.module.name} </Automatic-Module-Name >
78
84
</manifestEntries >
79
85
</archive >
You can’t perform that action at this time.
0 commit comments