Rename CI prop to skip-armeabi-v7a

This commit is contained in:
Neuman Vong 2024-01-16 15:15:00 +11:00
parent abfc5188e9
commit 87015f013a
2 changed files with 7 additions and 5 deletions

View file

@ -536,7 +536,9 @@ jobs:
- name: Build - name: Build
run: | run: |
cd examples/llama.android cd examples/llama.android
./gradlew build --no-daemon -Ponly-arm64-v8a
# Skip armeabi-v7a for now (https://github.com/llvm/llvm-project/issues/65820).
./gradlew build --no-daemon -Pskip-armeabi-v7a
# freeBSD-latest: # freeBSD-latest:
# runs-on: macos-12 # runs-on: macos-12

View file

@ -22,10 +22,10 @@ android {
} }
ndk { ndk {
// Workaround for https://github.com/llvm/llvm-project/issues/65820 // Workaround for https://github.com/llvm/llvm-project/issues/65820
// affecting armeabi-v7a. Build for arm64-v8a only when invoked // affecting armeabi-v7a. Skip armeabi-v7a when invoked with
// with -Ponly-arm64-v8a (e.g. ./gradlew build -Ponly-arm64-v8a). // -Pskip-armeabi-v7a (e.g., ./gradlew build -Pskip-armeabi-v7a).
if (project.hasProperty("only-arm64-v8a")) { if (project.hasProperty("skip-armeabi-v7a")) {
abiFilters += listOf("arm64-v8a") abiFilters += listOf("arm64-v8a", "x86_64", "x86")
} }
} }
externalNativeBuild { externalNativeBuild {