Skip to content

refactor: make bzlmod create host repos for toolchains - #2888

Merged
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:refactor.bzlmod.creates.host.repos
May 19, 2025
Merged

refactor: make bzlmod create host repos for toolchains#2888
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:refactor.bzlmod.creates.host.repos

Conversation

@rickeylev

@rickeylev rickeylev commented May 16, 2025

Copy link
Copy Markdown
Collaborator

This moves the creation of the host_toolchain repos into the bzlmod phase.

This is to facilitate future work to allow for when a a particular version
doesn't provide a host-compatible variant

Work towards #2081

@aignas aignas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, I like the host_compatible solution you did here a lot!

Comment thread python/private/python.bzl
Comment thread python/private/toolchains_repo.bzl
Comment thread python/private/python.bzl
@rickeylev
rickeylev force-pushed the refactor.bzlmod.creates.host.repos branch from 47b115e to 56b09f5 Compare May 18, 2025 23:06
Comment thread python/private/python.bzl
@rickeylev
rickeylev added this pull request to the merge queue May 19, 2025
Merged via the queue into bazel-contrib:main with commit 9abd323 May 19, 2025
@rickeylev
rickeylev deleted the refactor.bzlmod.creates.host.repos branch May 19, 2025 20:22
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