diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2023-08-10 11:37:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 18:37:45 +0000 |
commit | 40e2489b7470a8efb5098d02486dbf3b1d94211f (patch) | |
tree | 8208e3c3a15b3f7d3cc16ebac349b794163a65b9 | |
parent | 361ea6399992be5a787c966707d35c6960f1b932 (diff) | |
download | bazelbuild-apple_support-40e2489b7470a8efb5098d02486dbf3b1d94211f.tar.gz |
Add platforms to default repositories.bzl (#241)
If nothing loads this then it comes from bazel itself so the version
depends on your version of bazel, we want a newer one to support
visionOS.
-rw-r--r-- | lib/repositories.bzl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/repositories.bzl b/lib/repositories.bzl index be613e9..cad0083 100644 --- a/lib/repositories.bzl +++ b/lib/repositories.bzl @@ -46,4 +46,14 @@ def apple_support_dependencies(): sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506", ) + _maybe( + http_archive, + name = "platforms", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz", + "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz", + ], + sha256 = "3a561c99e7bdbe9173aa653fd579fe849f1d8d67395780ab4770b1f381431d51", + ) + apple_cc_configure() |