Skip to content
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

vendor large parts of @bazel_tools//tools/cpp #622

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

malt3
Copy link
Collaborator

@malt3 malt3 commented Nov 29, 2024

Most of @bazel_tools//tools/cpp was removed from @bazel_tools and moved into a private package in rules_cc in Bazel 8.

It looks like some parameters of cc_toolchain_config where added over the years and are not available in all versions of Bazel.
We might need to do some clever version checks when selecting a BUILD.tpl or do some other tricks.

Known problematic (see upstream issue):

Fixes #612

@malt3 malt3 force-pushed the mp/cc_toolchain_vendoring branch 3 times, most recently from bda7344 to c3d4c63 Compare November 29, 2024 21:41
…e//private/cc_toolchain

Most of @bazel_tools//tools/cpp was removed from @bazel_tools and moved into a private package in rules_cc in Bazel 8.
This is only available in Bazel 8 and later.
See bazelbuild/bazel#9e913fbfa2e3930742fc30dfb60ac5e2694c70cf
This is only available in Bazel 7 and later.
See bazelbuild/bazel#b272cef7d4b2d1be4e3f82b737c3c14d5e768aea
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.

almost all of @bazel_tools//tools/cpp may not exist for [email protected]
1 participant