Only build arm64-v8a in CI
This commit is contained in:
parent
9a049fc771
commit
943bba2e5d
2 changed files with 9 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -536,7 +536,7 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
cd examples/llama.android
|
||||
./gradlew build --no-daemon
|
||||
./gradlew build --no-daemon -Ponly-arm64-v8a
|
||||
|
||||
# freeBSD-latest:
|
||||
# runs-on: macos-12
|
||||
|
|
|
@ -20,6 +20,14 @@ android {
|
|||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
}
|
||||
ndk {
|
||||
// Workaround for https://github.com/llvm/llvm-project/issues/65820
|
||||
// affecting armeabi-v7a. Build for arm64-v8a only when invoked
|
||||
// with -Ponly-arm64-v8a (e.g. ./gradlew build -Ponly-arm64-v8a).
|
||||
if (project.hasProperty("only-arm64-v8a")) {
|
||||
abiFilters += listOf("arm64-v8a")
|
||||
}
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
cppFlags += listOf()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue