Skip to content

Android: armeabi-v7a (32-bit ARM) build scripts and release packaging - #555

Merged
ASDAlexander77 merged 1 commit into
mainfrom
android-armeabi-v7a
Oct 12, 2026
Merged

ASDAlexander77 merged 1 commit into
mainfrom
android-armeabi-v7a

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Summary

  • build_gc_release_android.bat and build_tslang_runtime_release_android.bat build armeabi-v7a as well (no argument: all three ABIs).
  • The release workflow stages android/armeabi-v7a/lib/{libgc.a,libTypeScriptAsyncRuntime.a} into the zip.
  • default-lib-dir.cmake pins the default library folder for armv7a-linux-androideabi29 (defaultlib/lib/arm/unknown/linux/android/release/gc).
  • README: Android sections list the third ABI and its triple.

Companion PR in TypeScriptCompilerDefaultLib adds the same ABI to build_android.bat.

Verified

  • The layout test (default-lib-dir.cmake) passes against a current tslang.
  • Built by hand with NDK r30: libgc.a, libTypeScriptAsyncRuntime.a and the default library for armeabi-v7a (release, gc).
  • tslang -mtriple=armv7a-linux-androideabi29 emits ELF32 ARM objects and links an --emit=exe (PIE) and --emit=dll against them. The executable ran on a Samsung SM-T510 (armeabi-v7a only) and printed the expected result.

Not verified

  • The release workflow change has not run in CI.
  • Debug mode and the rc/none memory models for armv7 are not built or tested.
  • @cppvtable Itanium calls are x86-64/AArch64 only; they are not covered for 32-bit ARM.

🤖 Generated with Claude Code

The collector and async runtime scripts build it too (no argument builds all three), the release
workflow stages android/armeabi-v7a/lib into the zip, and default-lib-dir.cmake pins where its
default library goes (defaultlib/lib/arm/unknown/linux/android/...). README updated.

Checked: tslang -mtriple=armv7a-linux-androideabi29 emits ELF32 ARM objects, links an executable
and a shared library against the three libraries, and the executable runs on an armeabi-v7a device.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ASDAlexander77
ASDAlexander77 merged commit dc85bd9 into main Oct 12, 2026
2 checks passed
@ASDAlexander77
ASDAlexander77 deleted the android-armeabi-v7a branch October 12, 2026 09:46
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