diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2024-05-10 14:20:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 14:20:09 -0700 |
commit | 666c686d5917be3f6260036ae536d9b44855ac34 (patch) | |
tree | 41dff6ac4de3db4d0bf8ae6644da9376ae01a9b9 /utils/bazel/WORKSPACE | |
parent | f32f6d199ac36e0c45433a648691f5165893deec (diff) | |
download | llvm-666c686d5917be3f6260036ae536d9b44855ac34.zip llvm-666c686d5917be3f6260036ae536d9b44855ac34.tar.gz llvm-666c686d5917be3f6260036ae536d9b44855ac34.tar.bz2 |
[bazel] Codesign debugserver on macOS (#91789)
This tool doesn't work unless it's signed with the entitlements used
here. We should probably consider using the
macos_command_line_application rule from rules_apple which manages this
more flexibly for us, but for now this works. This uses apple_genrule as
opposed to genrule since the former encodes the Xcode environment info
into the action so it is correctly invalidated if that changes.
Diffstat (limited to 'utils/bazel/WORKSPACE')
-rw-r--r-- | utils/bazel/WORKSPACE | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/bazel/WORKSPACE b/utils/bazel/WORKSPACE index f4ae2c7c..298b64f 100644 --- a/utils/bazel/WORKSPACE +++ b/utils/bazel/WORKSPACE @@ -56,6 +56,19 @@ maybe( name = "vulkan_sdk", ) +http_archive( + name = "build_bazel_apple_support", + sha256 = "c4bb2b7367c484382300aee75be598b92f847896fb31bbd22f3a2346adf66a80", + url = "https://github.com/bazelbuild/apple_support/releases/download/1.15.1/apple_support.1.15.1.tar.gz", +) + +load( + "@build_bazel_apple_support//lib:repositories.bzl", + "apple_support_dependencies", +) + +apple_support_dependencies() + # llvm libc math tests reply on `mpfr`. # The availability of `mpfr` is controlled by a flag and can be either `disable`, `system` or `external`. # Continuous integration uses `system` to speed up the build process (see .bazelrc). |