Skip to content

Commit ae32e31

Browse files
authored
Update build.sh to only install SDK components and remove linux stdlib
1 parent 16c19f5 commit ae32e31

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ declare_package boringssl "boringssl" "OpenSSL AND ISC AND MIT" \
114114
# Parse command line arguments
115115
android_sdk_version=0.1
116116
sdk_name=
117-
archs=armv7,x86_64
117+
archs=armv7,aarch64,x86_64
118118
android_api=28
119119
build_type=Release
120120
parallel_jobs=$(($(nproc --all) + 2))
@@ -449,6 +449,7 @@ for arch in $archs; do
449449
--skip-test-linux \
450450
--skip-test-xctest --skip-test-foundation \
451451
--build-swift-static-stdlib \
452+
--swift-install-components='clang-resource-dir-symlink;license;stdlib;sdk-overlay' \
452453
--install-swift \
453454
--install-libdispatch \
454455
--install-foundation \
@@ -528,7 +529,7 @@ for arch in $archs; do
528529
arch_triple="arm-linux-androideabi"
529530
fi
530531

531-
rm -r lib/swift{,_static}/clang
532+
rm -r lib/swift{,_static}/{clang,linux}
532533
mv lib/swift lib/swift-$arch
533534
ln -s ../swift/clang lib/swift-$arch/clang
534535

0 commit comments

Comments
 (0)