-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[swift] Add bazel configuration for Swift #7195
[swift] Add bazel configuration for Swift #7195
Conversation
This change adds a simple bazel BUILD file for consuming the Swift support. This also bumps the platforms bazel repo to fix support for M1s and bazel 5.1+ bazelbuild/bazel#15099 (comment) The rules_swift inclusion here must happen before gRPC to ensure we don't pull in an older version.
Hej! thanks for the PR, @keith Would love to know the idea behind it if possible? since the swift lib doesn't really run on bazel, and it runs on a macOS instants to validate the tests on actions. Unless we are missing something, and it would help us make sure the quality of the code is better |
With my bazel CI changes here it is being validated by that CI as well. but the intent is to make it easier to include flatbuffers in iOS projects that build with bazel like envoyproxy/envoy-mobile#2133 |
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.
LGTM from a swift point of view, I've tagged another reviewer just to confirm that we are good to go
Thanks! |
* [swift] Add bazel configuration for Swift This change adds a simple bazel BUILD file for consuming the Swift support. This also bumps the platforms bazel repo to fix support for M1s and bazel 5.1+ bazelbuild/bazel#15099 (comment) The rules_swift inclusion here must happen before gRPC to ensure we don't pull in an older version. * Add CC=clang which is a requirement for Swift on Linux * Add Swift to PATH
This change adds a simple bazel BUILD file for consuming the Swift
support. This also bumps the platforms bazel repo to fix support for M1s
and bazel 5.1+ bazelbuild/bazel#15099 (comment)
The rules_swift inclusion here must happen before gRPC to ensure we
don't pull in an older version.