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

Replace apple_common.multi_arch_split with new transition #2034

Merged

Conversation

keith
Copy link
Member

@keith keith commented Aug 2, 2023

This was removed in bazel bazelbuild/bazel@a76763c

@keith keith force-pushed the ks/replace-apple_common.multi_arch_split-with-new-transition branch from 0627678 to 108417a Compare August 2, 2023 19:21
@keith
Copy link
Member Author

keith commented Aug 2, 2023

🙃

@comius
Copy link
Contributor

comius commented Aug 11, 2023

Thanks for working on this! If you need any help, please let me know.

@keith keith force-pushed the ks/replace-apple_common.multi_arch_split-with-new-transition branch from 108417a to 4234e77 Compare August 11, 2023 20:12
@lyft-lint-bot
Copy link

Lyft integration job started: https://buildkite.com/lyft/rules-apple/builds/1849 (must be Lyft employee to view)

@keith keith force-pushed the ks/replace-apple_common.multi_arch_split-with-new-transition branch from 4234e77 to 345b8e9 Compare August 12, 2023 00:04
@lyft-lint-bot
Copy link

Lyft integration job started: https://buildkite.com/lyft/rules-apple/builds/1852 (must be Lyft employee to view)

@keith
Copy link
Member Author

keith commented Aug 12, 2023

I think this is good now just have to release apple_support and rules_swift to fix CI

@keith keith force-pushed the ks/replace-apple_common.multi_arch_split-with-new-transition branch from 345b8e9 to 23d335e Compare August 12, 2023 01:22
@keith keith marked this pull request as ready for review August 12, 2023 01:33
@keith keith enabled auto-merge (squash) August 12, 2023 01:33
@keith keith merged commit 95b1305 into master Aug 12, 2023
3 checks passed
@keith keith deleted the ks/replace-apple_common.multi_arch_split-with-new-transition branch August 12, 2023 01:37
copybara-service bot pushed a commit to protocolbuffers/protobuf that referenced this pull request Dec 12, 2023
On my local setup (WSL Ubuntu), I noticed that attempting to build Ruby tests fails, because of an error in `rules_apple`:

```
charles@AlterCation:~/protobuf$ bazel test //ruby/tests/...
WARNING: Build option --test_env has changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
/usr/local/bin/ruby: No such file or directory -- bundler/exe/bundler (LoadError)
ERROR: Traceback (most recent call last):
        File "/home/charles/.cache/bazel/_bazel_charles/dcd9f4fa8672aac49359d11b9a237597/external/build_bazel_rules_apple/apple/internal/rule_support.bzl", line 221, column 36, in <toplevel>
                deps_cfg = apple_common.multi_arch_split,
Error: 'apple_common' value has no field or method 'multi_arch_split'
```

This is an error previously reported in `rules_apple`, and fixed here: bazelbuild/rules_apple#2034

Looks like that was pulled into release 3.0.0, but I figured we may as well try for 3.1.1 ([the latest release](https://github.com/bazelbuild/rules_apple/releases)).

With this bump, I no longer get the above error.

Closes #15040

COPYBARA_INTEGRATE_REVIEW=#15040 from shaldengeki:ouguoc/bump-rules-apple-3.1.1 5e127dc
PiperOrigin-RevId: 590284088
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.

4 participants