Skip to content

Commit 6b736ca

Browse files
committed
Docs and pom updates for dropping macos x86_64.
1 parent a60b826 commit 6b736ca

File tree

4 files changed

+9
-20
lines changed

4 files changed

+9
-20
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ only binaries for the followings are being **supported and distributed** by this
5959
- `linux-x86_64`: Linux platforms on Intel/AMD chips
6060
- `linux-x86_64-gpu`: Linux platforms on Intel/AMD chips with Cuda GPU support
6161
- `linux-arm64`: Linux platforms on Arm chips
62-
- `macosx-x86_64`: MacOS X platforms on Intel/AMD chips
6362
- `macosx-arm64`: MacOS X platforms on Apple Silicon chips
6463
- `windows-x86_64`: Windows platforms on Intel/AMD chips
6564

65+
Binaries for `macosx-x86_64` are available for TF-Java 1.0 series releases and earlier, they were dropped from
66+
TF-Java 1.1 and newer as they are no longer supported or released by Google.
67+
6668
For example, for building a JAR that uses TensorFlow and is targeted to be deployed only on Linux
6769
systems with no GPU support, you should add the following dependencies:
6870
```xml
@@ -119,7 +121,7 @@ For Ubuntu 24.04, you can install them with the following command:
119121
In some cases, it might be preferable to add a single dependency that includes transitively all the artifacts
120122
required to run TensorFlow Java on any [supported platforms](README.md#individual-dependencies)
121123

122-
- `tensorflow-core-platform`: Includes `tensorflow-core-api`, plus native artifacts for `linux-x86_64`, `linux-x86_64-arm64`, `macosx-arm64`, `macosx-x86_64` and `windows-x86_64`
124+
- `tensorflow-core-platform`: Includes `tensorflow-core-api`, plus native artifacts for `linux-x86_64`, `linux-x86_64-arm64`, `macosx-arm64` and `windows-x86_64`
123125

124126
For example, to run TensorFlow Java on any CPU platform for which a binary is being distributed by this project, you can
125127
simply add this dependency to your application:

docs/install.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ following platforms:
1818

1919
* Ubuntu 20.04 or higher; 64-bit, x86
2020
* Ubuntu 22.04 or higher; 64-bit, arm
21-
* macOS 12 or higher; 64-bit, x86
2221
* macOS 14 or higher; 64-bit, arm
2322
* Windows 10 or higher; 64-bit, x86
2423

24+
TensorFlow Java 1.0 series and earlier releases also have binaries for:
25+
26+
* macOS 12 or higher; 64-bit, x86
27+
2528
*Note: To use TensorFlow on Android, see
2629
[TensorFlow Lite](https://tensorflow.org/lite)*
2730

tensorflow-core/tensorflow-core-native/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,6 @@
113113
<version>${project.version}</version>
114114
<classifier>${javacpp.platform.linux-x86_64}-gpu</classifier>
115115
</artifactItem>
116-
<artifactItem>
117-
<groupId>${project.groupId}</groupId>
118-
<artifactId>${project.artifactId}</artifactId>
119-
<version>${project.version}</version>
120-
<classifier>${javacpp.platform.macosx-x86_64}</classifier>
121-
</artifactItem>
122116
<artifactItem>
123117
<groupId>${project.groupId}</groupId>
124118
<artifactId>${project.artifactId}</artifactId>
@@ -167,10 +161,6 @@
167161
<file>${project.build.directory}/${project.artifactId}-${project.version}-${javacpp.platform.macosx-arm64}.jar</file>
168162
<classifier>${javacpp.platform.macosx-arm64}</classifier>
169163
</artifact>
170-
<artifact>
171-
<file>${project.build.directory}/${project.artifactId}-${project.version}-${javacpp.platform.macosx-x86_64}.jar</file>
172-
<classifier>${javacpp.platform.macosx-x86_64}</classifier>
173-
</artifact>
174164
<artifact>
175165
<file>${project.build.directory}/${project.artifactId}-${project.version}-${javacpp.platform.windows-x86_64}.jar</file>
176166
<classifier>${javacpp.platform.windows-x86_64}</classifier>

tensorflow-core/tensorflow-core-platform/pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@
5555
<version>${project.version}</version>
5656
<classifier>macosx-arm64</classifier>
5757
</dependency>
58-
<dependency>
59-
<groupId>org.tensorflow</groupId>
60-
<artifactId>tensorflow-core-native</artifactId>
61-
<version>${project.version}</version>
62-
<classifier>macosx-x86_64</classifier>
63-
</dependency>
6458
<dependency>
6559
<groupId>org.tensorflow</groupId>
6660
<artifactId>tensorflow-core-native</artifactId>
@@ -79,7 +73,7 @@
7973
<configuration>
8074
<archive>
8175
<manifestEntries>
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>
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-windows-x86_64.jar tensorflow-core-native-linux-arm64.jar</Class-Path>
8377
<Automatic-Module-Name>${java.module.name}</Automatic-Module-Name>
8478
</manifestEntries>
8579
</archive>

0 commit comments

Comments
 (0)