Skip to content

Conversation

@sundresh
Copy link
Contributor

@sundresh sundresh commented Dec 1, 2025

Fix the GitHub workflow jobs so they run again. In the process, also upgrade the Swift toolchain to a recent version and the Android API level and NDK version to match what is currently used by Android smoke tests in https://github.com/thebrowsercompany/swift-build

This should make it easy to drop this build into the end of https://github.com/compnerd/swift-build/blob/main/.github/workflows/swift-toolchain.yml#L6165 as an additional Android smoke test.

Caveats marked as TODO:

  • Added -Xclang-linker -resource-dir -Xclang-linker ${env:ANDROID_NDK_ROOT}\toolchains\llvm\prebuilt\windows-x86_64\lib\clang\18 to work around missing libclang_rt.builtins.a and libunwind.a libraries in the Swift toolchain by using them from the Android NDK instead.
  • Patched out uses of std::__voidify() in construct_at.h due to linker error: private symbol not accessible. This seems to be an issue with the Android NDK clang version's module map inadvertently hiding std::__voidify() from Swift.

@sundresh sundresh force-pushed the sundresh/update-github-workflow branch 2 times, most recently from 2d3b79f to adba28b Compare December 1, 2025 19:28
@sundresh sundresh force-pushed the sundresh/update-github-workflow branch from c2b387c to adaa559 Compare December 1, 2025 20:47
@compnerd compnerd merged commit d38a30a into compnerd:main Dec 1, 2025
4 checks passed
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.

2 participants