Skip to content

Commit 74f81e5

Browse files
committed
Android SDK build
1 parent 4050451 commit 74f81e5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

swift-ci/sdks/android/build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
# the architecture(s) to build; on GH Actions we build everything
55
if [[ -z "${CI}" ]]; then
6-
TARGET_ARCHS=${TARGET_ARCHS:-x86_64,aarch64}
6+
TARGET_ARCHS=${TARGET_ARCHS:-aarch64,x86_64}
77
#TARGET_ARCHS=${TARGET_ARCHS:-aarch64}
88
else
9-
#TARGET_ARCHS=${TARGET_ARCHS:-aarch64,armv7,x86_64,x86}
9+
TARGET_ARCHS=${TARGET_ARCHS:-armv7,aarch64,x86_64,x86}
1010
#TARGET_ARCHS=${TARGET_ARCHS:-aarch64,x86_64}
11-
TARGET_ARCHS=${TARGET_ARCHS:-aarch64}
11+
#TARGET_ARCHS=${TARGET_ARCHS:-aarch64}
1212
fi
1313

1414
ANDROID_NDK_VERSION=android-ndk-r27c

swift-ci/sdks/android/scripts/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ for arch in $archs; do
340340
--reconfigure \
341341
--no-assertions \
342342
--android \
343-
--android-ndk $ndk_home \
344-
--android-arch $arch \
345-
--android-api-level $android_api \
343+
--android-ndk=$ndk_home \
344+
--android-arch=$arch \
345+
--android-api-level=$android_api \
346346
--native-swift-tools-path=$host_toolchain/bin \
347347
--native-clang-tools-path=$host_toolchain/bin \
348348
--cross-compile-hosts=android-$arch \
@@ -360,5 +360,7 @@ for arch in $archs; do
360360
--swift-testing --install-swift-testing \
361361
--cross-compile-append-host-target-to-destdir=False
362362
quiet_popd
363+
364+
header "Completed build for $arch in $sdk_root"
363365
done
364366

0 commit comments

Comments
 (0)