Skip to content

Commit 02485be

Browse files
authored
Update build.sh to disable building libTesting and for 16K memory pages, as both don't work yet
1 parent 324a3b7 commit 02485be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,11 @@ for arch in $archs; do
453453
--install-libdispatch \
454454
--install-foundation \
455455
--xctest --install-xctest \
456-
--swift-testing --install-swift-testing \
457456
--cross-compile-build-swift-tools=0 \
458457
--llvm-ninja-targets-for-cross-compile-hosts=help \
459-
--cross-compile-append-host-target-to-destdir=False \
460-
--extra-cmake-options='-DCMAKE_EXTRA_LINK_FLAGS="-Wl,-z,max-page-size=16384"'
461-
458+
--cross-compile-append-host-target-to-destdir=False
459+
# --extra-cmake-options='-DCMAKE_EXTRA_LINK_FLAGS="-Wl,-z,max-page-size=16384"'
460+
# --swift-testing --install-swift-testing \
462461
# need to remove symlink that gets created in the NDK to the previous arch's build
463462
# or else we get errors like:
464463
# error: could not find module '_Builtin_float' for target 'x86_64-unknown-linux-android'; found: aarch64-unknown-linux-android, at: /home/runner/work/_temp/swift-android-sdk/ndk/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/swift/android/_Builtin_float.swiftmodule

0 commit comments

Comments
 (0)