Update @platforms
I wanted to update this because `aarch64` and `arm64` are aliased in
the latest version. They were distinct constraints in the previous
one.
Previous version:
$ bazel cquery --output=build @platforms//cpu:aarch64
# /bazel-cache/phil/bazel/_bazel_phil/a11e72f83c6bc6482e64ece9eb74bf1d/external/platforms/cpu/BUILD:17:17
constraint_value(
name = "aarch64",
constraint_setting = "@platforms//cpu:cpu",
)
New version:
$ bazel cquery --output=build @platforms//cpu:aarch64
# /bazel-cache/phil/bazel/_bazel_phil/a11e72f83c6bc6482e64ece9eb74bf1d/external/platforms/cpu/BUILD:17:6
alias(
name = "aarch64",
actual = "@platforms//cpu:arm64",
)
Change-Id: I5c219184d31bb39d05b234c3dfb394f175c66029
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
diff --git a/WORKSPACE b/WORKSPACE
index 65395cb..199822b 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -251,9 +251,9 @@
http_archive(
name = "platforms",
- sha256 = "3c4057c53b64dd3f2c753e0a80bbb6ccb29fb437910200c911dd51454baf619b",
- strip_prefix = "platforms-10b4d2bdde25ea1e66c02c3f83a6d921000a7272",
- url = "https://www.frc971.org/Build-Dependencies/platforms_10b4d2bdde25ea1e66c02c3f83a6d921000a7272.zip",
+ sha256 = "2c8d8347427e6bb0ba7cf9f933c08fe2be2b62ff2454546ad852f7bf267aad87",
+ strip_prefix = "platforms-e658a6af526089406d0057160542597501ba65d7",
+ url = "https://github.com/bazelbuild/platforms/archive/e658a6af526089406d0057160542597501ba65d7.zip",
)
http_archive(