File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
swift-ci/sdks/android/scripts Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -439,6 +439,12 @@ for arch in $archs; do
439
439
# use an out-of-tree build folder
440
440
export SWIFT_BUILD_ROOT=${build_dir} /swift-project
441
441
442
+ pushd swift
443
+ # apply the patch for the 6.2.0 cherry-pick of https://github.com/swiftlang/swift/pull/81596
444
+ curl -fsSL https://github.com/swiftlang/swift/pull/84061.patch > 84061.patch
445
+ git apply 84061.patch
446
+ popd
447
+
442
448
./swift/utils/build-script \
443
449
$build_type_flag \
444
450
--reconfigure \
@@ -468,10 +474,10 @@ for arch in $archs; do
468
474
--xctest --install-xctest \
469
475
--swift-testing --install-swift-testing \
470
476
--swift-testing-macros --install-swift-testing-macros \
471
- --cross-compile-build-swift-tools=false \
477
+ --cross-compile-build-swift-tools=False \
472
478
--libdispatch-cmake-options=-DCMAKE_SHARED_LINKER_FLAGS= \
473
479
--foundation-cmake-options=-DCMAKE_SHARED_LINKER_FLAGS= \
474
- --cross-compile-append-host-target-to-destdir=false
480
+ --cross-compile-append-host-target-to-destdir=False
475
481
# --extra-cmake-options='-DCMAKE_EXTRA_LINK_FLAGS="-Wl,-z,max-page-size=16384"'
476
482
# need to remove symlink that gets created in the NDK to the previous arch's build
477
483
# or else we get errors like:
You can’t perform that action at this time.
0 commit comments