Move Apple toolchain setup to apple_support#16619
Move Apple toolchain setup to apple_support#16619keith wants to merge 1 commit intobazelbuild:masterfrom
Conversation
|
This is failing because rules_cc references the primary file we're deleting here |
|
This looks reasonable. Can we migrate/update rules_cc to fix this? Ideally rules_cc wouldn't be mac-specific either. |
|
Yea I definitely can, the problem will be doing that in lockstep, but I guess it's ok since it's breaking either way |
|
I think the order of operations has to be:
|
|
@katre ok I moved out all of the apple crosstool setup that I can, and moved it into bazelbuild/apple_support#113 one thing I'm unclear on currently is that I currently have the apple_support using |
|
The right answer is for non-toolchains users to use That sequencing looks right but we should confirm with @comius. |
|
I wonder if adding that in our transition would be enough instead of requiring that change on folks before we transition to the workspace way |
|
it seems like if we could change the default of |
77b53f5 to
6d3b963
Compare
dfb18e0 to
e41a264
Compare
|
I think this is pretty close to ready, but I can't make CI green until we have a new release of rules_cc, it seems too difficult to correctly override all the tests cases for it at the moment. |
15ba30c to
6cbc6be
Compare
7b9b078 to
8a12270
Compare
|
I guess we need to increase the test size of those timing out tests, e.g. https://cs.opensource.google/bazel/bazel/+/master:src/test/shell/bazel/BUILD;l=937 But this does indicate that there is a potential performance regression? |
Yes. I suspect we should get rid of that dependency but left the cleanup for another day. |
|
@meteorcloudy I'll look at this today |
Using this feature isn't supported by the Xcode based toolchain on macOS, and generating a modulemap for the entire macOS SDK takes a huge amount of time. This disables this feature on macOS until there's a better solution to those performance issues. Fixes bazelbuild#16619 (comment)
|
This change was rollbacked at a50cca5, @zhengwei143 can you provide more details about what was broken? |
|
I believe @googlewalt is working on a roll forward. |
|
@googlewalt how's the forward fix looking? |
|
I just fixed one small remaining issue. Awaiting review @oquenchil. |
|
Submitted as 699e403. |
|
Thanks! |
Using this feature isn't supported by the Xcode based toolchain on macOS, and generating a modulemap for the entire macOS SDK takes a huge amount of time. This disables this feature on macOS until there's a better solution to those performance issues. Fixes bazelbuild#16619 (comment)
Followup to #16619. PiperOrigin-RevId: 519183744 Change-Id: I13e4d00d679e1c1150c309264dc5fd3a980eb221
Using this feature isn't supported by the Xcode based toolchain on macOS, and generating a modulemap for the entire macOS SDK takes a huge amount of time. This disables this feature on macOS until there's a better solution to those performance issues. Fixes bazelbuild#16619 (comment)
Using this feature isn't supported by the Xcode based toolchain on macOS, and generating a modulemap for the entire macOS SDK takes a huge amount of time. This disables this feature on macOS until there's a better solution to those performance issues. Fixes #16619 (comment) Closes #17763. PiperOrigin-RevId: 532080490 Change-Id: I96b77eff884fa965ed20084b90b1e0af5b80b082
This moves the CC toolchain for building Apple platforms besides macOS to the apple_support repo bazelbuild/apple_support#113 The default unix toolchain is now used if someone wants to build for macOS without the apple_support toolchain, but it doesn't handle as many platform specific features as the previous toolchain. Fixes bazelbuild#15041 Closes bazelbuild#16619. PiperOrigin-RevId: 515546196 Change-Id: Ia54b53e7093c1edbfe8276730aaed5a11a94a027
Followup to bazelbuild#16619. PiperOrigin-RevId: 519183744 Change-Id: I13e4d00d679e1c1150c309264dc5fd3a980eb221
Using this feature isn't supported by the Xcode based toolchain on macOS, and generating a modulemap for the entire macOS SDK takes a huge amount of time. This disables this feature on macOS until there's a better solution to those performance issues. Fixes bazelbuild#16619 (comment) Closes bazelbuild#17763. PiperOrigin-RevId: 532080490 Change-Id: I96b77eff884fa965ed20084b90b1e0af5b80b082
Apple toolchains have been moved to apple_support from Bazel 7. See bazelbuild/bazel#16619. Those values won't match anymore. Also all those config_settings should move to platforms: https://bazel.build/extending/platforms PiperOrigin-RevId: 732105033
Apple toolchains have been moved to apple_support from Bazel 7. See bazelbuild/bazel#16619. Those values won't match anymore. Also all those config_settings should move to platforms: https://bazel.build/extending/platforms PiperOrigin-RevId: 732105033
This moves the CC toolchain for building Apple platforms besides macOS to the apple_support repo bazelbuild/apple_support#113
The default unix toolchain is now used if someone wants to build for macOS without the apple_support toolchain, but it doesn't handle as many platform specific features as the previous toolchain.
Fixes #15041