Update arti to 1.9.0 and produce 32 bit builds (#585)

* x86

* update arti to 1.9.0
This commit is contained in:
callebtc
2026-01-14 14:58:26 +07:00
committed by GitHub
parent dd856ac01f
commit 829fb52a04
7 changed files with 19 additions and 5 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ android {
debug {
ndk {
// Include x86_64 for emulator support during development
abiFilters += listOf("arm64-v8a", "x86_64")
abiFilters += listOf("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
}
}
release {
@@ -52,7 +52,7 @@ android {
abi {
isEnable = true
reset()
include("arm64-v8a", "x86_64")
include("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
isUniversalApk = true // For F-Droid and fallback
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
arti-v1.7.0
arti-v1.9.0
+16 -2
View File
@@ -129,15 +129,17 @@ done
# Architectures to build
if [ "$RELEASE_ONLY" = true ]; then
TARGETS=("aarch64-linux-android")
TARGETS=("aarch64-linux-android" "armv7-linux-androideabi")
else
TARGETS=("aarch64-linux-android" "x86_64-linux-android")
TARGETS=("aarch64-linux-android" "x86_64-linux-android" "armv7-linux-androideabi" "i686-linux-android")
fi
# Map Rust targets to Android ABI names
declare -A ABI_MAP=(
["aarch64-linux-android"]="arm64-v8a"
["x86_64-linux-android"]="x86_64"
["armv7-linux-androideabi"]="armeabi-v7a"
["i686-linux-android"]="x86"
)
# Toolchain placeholders (set in detect_ndk_host)
@@ -331,6 +333,18 @@ clone_or_update_arti() {
git clean -ffdqx --quiet
print_success "Arti source ready at version $VERSION"
# Apply patches
if [ -d "$SCRIPT_DIR/patches" ]; then
print_info "Applying patches..."
for patch in "$SCRIPT_DIR/patches"/*.patch; do
if [ -f "$patch" ]; then
print_info "Applying $(basename "$patch")"
git apply "$patch" || { print_error "Failed to apply $patch"; exit 1; }
fi
done
fi
echo ""
}