Skip to content

Commit 7f2b305

Browse files
michalharakalclaude
andcommitted
Add androidNativeArm32 target across core modules (#503)
Enables 32-bit ARM Android Native builds alongside the existing arm64 target so vendor-specific backends can link native device libraries on 32-bit devices. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c551f14 commit 7f2b305

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

skainet-compile/skainet-compile-core/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ kotlin {
2727
linuxX64()
2828
linuxArm64()
2929

30+
// Android Native targets for vendor-specific backends linking native device libs.
31+
androidNativeArm32()
32+
androidNativeArm64()
33+
3034
jvm()
3135

3236
js {

skainet-lang/skainet-lang-core/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ kotlin {
2929
linuxX64 ()
3030
linuxArm64 ()
3131

32+
// Android Native targets for vendor-specific backends linking native device libs.
33+
androidNativeArm32()
34+
androidNativeArm64()
35+
3236
jvm()
3337

3438
js {

skainet-lang/skainet-lang-ksp-annotations/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ kotlin {
1717
linuxX64 ()
1818
linuxArm64 ()
1919

20+
// Android Native targets for vendor-specific backends linking directly against
21+
// libneuralnetworks.so / libOpenCL.so / etc. (e.g. skainet-backend-nnapi).
22+
androidNativeArm32()
23+
androidNativeArm64()
24+
2025
jvm()
2126

2227
js {

0 commit comments

Comments
 (0)