Skip to content

[6.2] Cherry-pick several Android & FreeBSD fixes #707

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 5 commits into from
Aug 6, 2025

Conversation

jakepetroules
Copy link
Collaborator

@jakepetroules jakepetroules commented Aug 5, 2025

@jakepetroules jakepetroules changed the base branch from main to release/6.2 August 5, 2025 21:45
@jakepetroules
Copy link
Collaborator Author

@swift-ci test

jakepetroules and others added 5 commits August 5, 2025 17:30
This allows building Swift Build for FreeBSD hosts, as well as building for a FreeBSD target from a FreeBSD host.

Also adds some speculative support for targeting OpenBSD on OpenBSD hosts, since SwiftPM has minimal support.
Add support for Android NDK versions 23 through 26, and emit an explicit error for older versions. Add test coverage to verify parsing of the metadata.

I chose 23 as the cutoff for now simply because that's the next last time that the abis.json schema changed. That version was released in  August 2021. We can add older versions if anyone really wants them.
Now respects the environment variable overrides and looks for the Debian/Ubuntu package location.

Closes swiftlang#495
We're going to keep the versioned triple, so it needs to be passed through after all.
@jakepetroules
Copy link
Collaborator Author

@swift-ci test

@jakepetroules jakepetroules added android Support for the Android platform freebsd Support for the FreeBSD platform labels Aug 6, 2025
@jakepetroules
Copy link
Collaborator Author

@swift-ci test macos

@jakepetroules jakepetroules enabled auto-merge (rebase) August 6, 2025 01:30
@jakepetroules jakepetroules merged commit 419c192 into swiftlang:release/6.2 Aug 6, 2025
46 of 49 checks passed
@jakepetroules jakepetroules deleted the android-freebsd branch August 6, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Support for the Android platform freebsd Support for the FreeBSD platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants