-
Notifications
You must be signed in to change notification settings - Fork 248
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
Fix building for iOS #767
Fix building for iOS #767
Conversation
So I currently expect this to fail, since compatibility with iOS was broken somewhere in this diff d54c78a...b51f25e which we discovered when updating envoy and envoy-mobile's usage of the rules. My assumption is that it was caused by c41020e which always assumes |
cc @jsharpe from the commit above hoping you have some ideas here |
You can see the current failure here https://buildkite.com/bazel/rules-foreign-cc/builds/3452#a07e12a5-3042-484f-98d2-c60cdbe57a95 |
8ea64a8
to
ba50ced
Compare
Ok confirmed that was the issue and pushed a fix here. I was thrown off while trying to reduce because of #769 |
a90b8b6
to
0ac298b
Compare
I don't see how this could have affected the Linux python3 setup, but I will try to debug more |
Yes, that's an odd failure; I can't see how this change would have affected the RBE python3 build either. |
Some projects like envoy-mobile use rules_foreign_cc to build targeting iOS, so this is useful to validate on CI as part of the macOS test build.
0ac298b
to
db9b684
Compare
My current assumption is that by changing the workspaces here I'm triggering a build that was previously cached, and somehow rotted, maybe through a docker image update |
62b4a25
to
dcae5f5
Compare
Ok I take it back, it seems to be a workspace ordering issue. I think because of some transitive dependency on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting to the bottom of this! It's very useful to have more diverse use cases in the tests
❤️ thanks! |
Some projects like envoy-mobile use rules_foreign_cc to build targeting
iOS, so this is useful to validate on CI as part of the macOS test
build. This also fixes a bug where this was broken since
c41020e because the wrong SDKROOT was used