Skip to content

[android] fix path and cmake local build target tracking for posix_fi… #75494

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
merged 1 commit into from
Jul 29, 2024

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Jul 26, 2024

…lesystem.apinotes

This apinote file needs to be accessible in the locally built Android SDK as it's being built with build.ps1, so that swift-foundation can be built with that file present. This change ensures that the file is copied over into the local build directory for that Android SDK, in addition to being included in the installed component

This change also places the component into lib/swift/apinotes, as that's where the clang importer already looks for API notes

…lesystem.apinotes

This apinote file needs to be accessible in the locally built Android SDK as it's being built with build.ps1, so that swift-foundation can be built with that file present. This change ensures that the file is copied over into the local build directory for that Android SDK, in addition to being included in the installed component

This change also places the component into lib/swift/apinotes, as that's where the clang importer already looks for API notes
@hyp
Copy link
Contributor Author

hyp commented Jul 26, 2024

CC @finagolfin thanks for the pointer on the swift-foundation PR, this was the issue that prevented me from picking up posix_filesystem.apinotes

@hyp hyp requested a review from compnerd July 26, 2024 04:27
@hyp
Copy link
Contributor Author

hyp commented Jul 26, 2024

@swift-ci please test

Copy link
Member

@finagolfin finagolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this natively on Android, works well, thanks.

@finagolfin
Copy link
Member

Btw, I'm testing out the new LTS NDK 27 with the new Android overlay in Swift 6, and it's broken. No problem building the current Swift 5.10.1 and its old overlay with this new NDK though.

@hyp
Copy link
Contributor Author

hyp commented Jul 26, 2024

@swift-ci please test windows platform

1 similar comment
@hyp
Copy link
Contributor Author

hyp commented Jul 26, 2024

@swift-ci please test windows platform

@hyp
Copy link
Contributor Author

hyp commented Jul 26, 2024

@swift-ci please test windows

@compnerd
Copy link
Member

@swift-ci please test Windows platform

@finagolfin
Copy link
Member

@hyp, do you mind submitting this and the prior #74829 to the 6.0 branch? We will need these apinotes changes there too.

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.

3 participants