Skip to content

Commit

Permalink
Revert: Pin a newer @platforms in the Bazel workspace to fix Mac ARM …
Browse files Browse the repository at this point in the history
…builds.

The @platforms repository has been updated in the @tf_runtime repository, which was pulling in the old version of @platforms. We no longer need to override @platforms in the JAX WORKSPACE.

PiperOrigin-RevId: 440375016
  • Loading branch information
hawkinsp authored and jax authors committed Apr 8, 2022
1 parent 648a512 commit 8b6b736
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# Force a sufficiently new copy of @platforms, see https://github.com/bazelbuild/bazel/issues/15175 and
# https://github.com/google/jax/issues/10132. When our transitive dependencies aren't pulling in an
# old version, we can remove this (the current hypothesis is that the cause is in TFRT).
http_archive(
name = "platforms",
sha256 = "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
],
)

# To update TensorFlow to a new revision,
# a) update URL and strip_prefix to the new git commit hash
# b) get the sha256 hash of the commit by running:
Expand Down

0 comments on commit 8b6b736

Please sign in to comment.