Skip to content

[maccatalyst] Handle macCatalyst static swiftmodules #76784

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

Merged

Conversation

drodriguez
Copy link
Contributor

The existing CMake code for macCatalyst swiftmodule only handled the shared case, and did not have the static pieces that non-macCatalyst targets are doing.

Try to match as much as possible the non-macCatalyst variables and structure and allow macCatalyst targets to support static Swift targets.

This is important for the Cxx.swiftmodule and CxxStdlib.swiftmodule, since they are only static, and the previous code skipped creating those files since #74994

@drodriguez drodriguez requested a review from a team as a code owner September 30, 2024 20:49
@drodriguez
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@egorzhdan egorzhdan requested review from etcwilde and edymtt October 3, 2024 16:52
@drodriguez
Copy link
Contributor Author

Does someone have any feedback about this?

The existing CMake code for macCatalyst swiftmodule only handled the
shared case, and did not have the static pieces that non-macCatalyst
targets are doing.

Try to match as much as possible the non-macCatalyst variables and
structure and allow macCatalyst targets to support static Swift targets.

This is important for the `Cxx.swiftmodule` and `CxxStdlib.swiftmodule`,
since they are only static, and the previous code skipped creating those
files since swiftlang#74994
@drodriguez drodriguez force-pushed the maccatalyst-static-swiftmodule branch from a1ee5fd to d0151bf Compare October 21, 2024 23:03
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez drodriguez enabled auto-merge (squash) October 21, 2024 23:04
@drodriguez drodriguez merged commit d84b23b into swiftlang:main Oct 22, 2024
4 of 5 checks passed
@drodriguez drodriguez deleted the maccatalyst-static-swiftmodule branch October 22, 2024 17:36
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.

1 participant