Skip to content

[bazel] Codesign debugserver on macOS #91789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 10, 2024

Conversation

keith
Copy link
Member

@keith keith commented May 10, 2024

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.

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.
@keith keith requested a review from aaronmondal May 10, 2024 18:26
@keith keith requested a review from rupprecht as a code owner May 10, 2024 18:26
@llvmbot llvmbot added the bazel "Peripheral" support tier build system: utils/bazel label May 10, 2024
cc_binary(
name = "lldb",
srcs = glob([
"tools/driver/*.cpp",
"tools/driver/*.h",
]),
data = [
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this just because it being here doesn't actually help lldb discover it at runtime, so we might as well just let users provide it themselves.

@keith keith merged commit 666c686 into llvm:main May 10, 2024
@keith keith deleted the ks/bazel-codesign-debugserver-on-macos branch May 10, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants