Skip to content

Add two version of the Swift flags.#15459

Open
thomasvl wants to merge 1 commit into
google:masterfrom
thomasvl:swift_flags_update
Open

Add two version of the Swift flags.#15459
thomasvl wants to merge 1 commit into
google:masterfrom
thomasvl:swift_flags_update

Conversation

@thomasvl
Copy link
Copy Markdown
Member

@thomasvl thomasvl commented May 4, 2026

Depending on how a Swift package is configured (Package.swift), different flags may be needed. Provide variables with the two forms. Update the documentation to try and explain things and call out the likely error.

Move swift-protobuf off a hardcoded override to the new values.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

thomasvl is either the primary contact or is in the CCs list of projects/swift-protobuf.
thomasvl has previously contributed to projects/swift-protobuf. The previous PR was #15443

@thomasvl
Copy link
Copy Markdown
Member Author

thomasvl commented May 5, 2026

Looks like some infra is having a hiccup, I don't see how this is related to the changes.

@thomasvl thomasvl force-pushed the swift_flags_update branch 4 times, most recently from 5a98834 to e732239 Compare May 6, 2026 18:41
Depending on how a Swift package is configured (`Package.swift`), different
flags may be needed. Provide variables with the two forms. Update the
documentation to try and explain things and call out the likely error.

Move swift-protobuf off a hardcoded override to the new values.
@thomasvl thomasvl force-pushed the swift_flags_update branch from e732239 to 74f0242 Compare May 6, 2026 20:08
@thomasvl
Copy link
Copy Markdown
Member Author

thomasvl commented May 6, 2026

@DavidKorczynski - it looks like the failures are because the new variables I've added in precompile_swift aren't being found for the swift-protobuf build.sh. Do I need need to land this as two PRs instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant