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

Fix build when using static Linux SDK #80

Merged
merged 1 commit into from
Mar 14, 2025
Merged

Conversation

gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Mar 14, 2025

This fixes a build issue when using the static Linux SDK. We were branching on #if os(Linux) to decide whether a value we are using is an enum or a statically defined integer: Glibc declares it as an enum, whereas Darwin and Musl define it as an integer. We should make sure we are importing Glibc and not Musl when we consider it an enum, as otherwise the build will fail.

@gjcairo gjcairo added the 🆕 semver/minor Adds new public API. label Mar 14, 2025
@gjcairo gjcairo merged commit dac5f35 into grpc:main Mar 14, 2025
29 checks passed
@gjcairo gjcairo deleted the static-sdk branch March 14, 2025 15:35
@gjcairo gjcairo added 🔨 semver/patch No public API change. and removed 🆕 semver/minor Adds new public API. labels Mar 17, 2025
dongjoon-hyun added a commit to apache/spark-connect-swift that referenced this pull request Mar 19, 2025
…nsport` to `1.0.2`

### What changes were proposed in this pull request?

This PR aims to upgrade
- `gRPC Swift` to `2.1.2`
- `gRPC Swift NIO Transport` to `1.0.2`

### Why are the changes needed?

To bring the latest bug fixes.
- https://github.com/grpc/grpc-swift/releases/tag/2.1.2
- https://github.com/grpc/grpc-swift/releases/tag/2.1.1
    - grpc/grpc-swift#2206
- https://github.com/grpc/grpc-swift-nio-transport/releases/tag/1.0.2
    - grpc/grpc-swift-nio-transport#80

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #23 from dongjoon-hyun/SPARK-51561.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants