Skip to content

[6.2][android] Small test and build tweaks #82986

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

Open
wants to merge 4 commits into
base: release/6.2
Choose a base branch
from

Conversation

finagolfin
Copy link
Member

Explanation: Disable several tests for Android armv7 and add some build config for cross-compiling the corelibs, fixing the libcurl build, and installing a cross-compiled toolchain.

Scope: Tweak some tests and add cross-compilation build config

Issue: #80788

Original PR: #82501, non-test changes from #82620, #82924

Risk: Very low, tests were only loosened or disabled for Android and this cross-compilation build config is not run on any official CI yet.

Testing: Passed CI and we're using these patches in preliminary builds of an official Android CI job, which uses these changes to pass the full compiler validation suite and produce an Android SDK bundle

Reviewer: @etcwilde

The Swift core team tasked the Swift on Android workgroup with putting together an official 6.2 Android CI job, so @marcprux and I have been piecing together a pull for that, swiftlang/swift-docker#467, and these are more of the trunk patches we had to backport to 6.2 so far. Once the remaining patches there have been reworked and merged to trunk, I will submit another 6.2 pull later on with those final patches.

Fix two IRGen tests that are failing on Android armv7 and disable eight ClangImporter, C++ Interop, and SILOptimizer tests, two of which that were already failing on other 32-bit platforms.
…wiftlang#82620)

I just noticed the install issue when cross-compiling Testing with a
freshly-built compiler, which I'd never done before. Also, fix the NDK
path shown in the CMake output.
@finagolfin finagolfin requested a review from a team as a code owner July 11, 2025 11:51
@finagolfin finagolfin changed the title [android] Small test and build tweaks [6.2][android] Small test and build tweaks Jul 11, 2025
@finagolfin finagolfin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jul 11, 2025
@finagolfin
Copy link
Member Author

@swift-ci smoke test

@finagolfin
Copy link
Member Author

@swift-ci test linux

@finagolfin
Copy link
Member Author

@swift-ci test macos

@finagolfin
Copy link
Member Author

@bnbarham, mind reviewing this small pull?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants