Skip to content

Move xcode_configure to this repo#577

Merged
keith merged 2 commits intomainfrom
ks/move-xcode_configure-to-this-repo
Apr 24, 2026
Merged

Move xcode_configure to this repo#577
keith merged 2 commits intomainfrom
ks/move-xcode_configure-to-this-repo

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Apr 23, 2026

This already references rules that live in this repo, so might as well
move the repository_rule here too. This makes it easier to make
additions to the rules as well

@keith
Copy link
Copy Markdown
Member Author

keith commented Apr 23, 2026

this is paired with bazelbuild/bazel#29382

steps:

  1. merge + create a release with this
  2. this is immediately usable by folks who want to by either using --xcode_version_config=@@apple_support++xcode_configure_extension+local_config_xcode//:host_xcodes (probably not recommended) or by adding:
xcode_configure = use_extension("@apple_support//xcode:xcode_configure.bzl", "xcode_configure_extension")
use_repo(xcode_configure, "local_config_xcode")

to their MODULE.bazel and using --xcode_version_config=@local_config_xcode//:host_xcodes

  1. update the bazel PR to point to the new release and merge it, cherry picking into 9.x should also be fine

keith added 2 commits April 23, 2026 10:42
This already references rules that live in this repo, so might as well
move the repository_rule here too. This makes it easier to make
additions to the rules as well
@keith keith force-pushed the ks/move-xcode_configure-to-this-repo branch from 9098d73 to 71a92c8 Compare April 23, 2026 17:42
@keith keith marked this pull request as ready for review April 23, 2026 17:52
@keith keith merged commit 724c1cc into main Apr 24, 2026
14 checks passed
@keith keith deleted the ks/move-xcode_configure-to-this-repo branch April 24, 2026 17:39
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