-
Notifications
You must be signed in to change notification settings - Fork 6
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
Tools are fetched for all platforms #13
Comments
Hopefully a useful first step in making a fix
#14 proposes a simple way to test this using bazel's downloader config. Here's a sample failure when the CI job ran (on the https://github.com/alexeagle/rules_multitool/actions/runs/8197661135/job/22419952253 |
I'll try again to explain the design that fixes this problem. Sorry it's pretty challenging - I did try to make a PR here but didn't have enough time. At the top-level is a repository macro that creates one "hub" repo, and then also one "platform" repo per supported platform.
The "hub" repo must not fetch any tools. It will contain the
for all platforms. These may be freely registered (either in MODULE.bazel for bzlmod or in the repository macro) the
So this is the attribute that should be changed to point into the "platform" repos, for example it should look like
Bazel won't try to run any of the downloads for the Come chat me on Bazel Slack if I can be more helpful to explain it? |
Fixes #13. We now create a repo per 'environment' (os/cpu combo) in addition to the hub repo, and then refer to the downloads of those repos from the hub.
Follow-up to #12, this time I'll try to be more helpful in resolving it.
results in waiting for three copies of target-determinator to download.
The text was updated successfully, but these errors were encountered: