Skip to content

Remove macOS support from default toolchain#743

Draft
keith wants to merge 1 commit into
bazelbuild:mainfrom
keith:ks/remove-macos-support-from-default-toolchain
Draft

Remove macOS support from default toolchain#743
keith wants to merge 1 commit into
bazelbuild:mainfrom
keith:ks/remove-macos-support-from-default-toolchain

Conversation

@keith

@keith keith commented Jun 10, 2026

Copy link
Copy Markdown
Member

Since this toolchain moved out of bazel, and bazel directly depends on
apple_support, there's no reason to have a separate toolchain supporting
the same platform. On top of that the macOS support in this toolchain
isn't fully hermetic, and would require a lot of copy pasting from the
apple_support toolchain to get there, for seemingly no benefit.

Since this toolchain moved out of bazel, and bazel directly depends on
apple_support, there's no reason to have a separate toolchain supporting
the same platform. On top of that the macOS support in this toolchain
isn't fully hermetic, and would require a lot of copy pasting from the
apple_support toolchain to get there, for seemingly no benefit.
)
if darwin:
overridden_tools["gcc"] = "cc_wrapper.sh"
overridden_tools["ar"] = _find_generic(repository_ctx, "libtool", "LIBTOOL", overridden_tools)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@keith mind porting the ar/libtool flag thing to the better apple toolchain so we don't lose this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants