File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
examples/llama.android/app Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -536,7 +536,7 @@ jobs:
536
536
- name : Build
537
537
run : |
538
538
cd examples/llama.android
539
- ./gradlew build --no-daemon
539
+ ./gradlew build --no-daemon -Ponly-arm64-v8a
540
540
541
541
# freeBSD-latest:
542
542
# runs-on: macos-12
Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ android {
20
20
vectorDrawables {
21
21
useSupportLibrary = true
22
22
}
23
+ ndk {
24
+ // Workaround for https://github.com/llvm/llvm-project/issues/65820
25
+ // affecting armeabi-v7a. Build for arm64-v8a only when invoked
26
+ // with -Ponly-arm64-v8a (e.g. ./gradlew build -Ponly-arm64-v8a).
27
+ if (project.hasProperty(" only-arm64-v8a" )) {
28
+ abiFilters + = listOf (" arm64-v8a" )
29
+ }
30
+ }
23
31
externalNativeBuild {
24
32
cmake {
25
33
cppFlags + = listOf ()
You can’t perform that action at this time.
0 commit comments