Skip to content

Commit 1a19b03

Browse files
committed
Update patch application for 6.2
1 parent ead9ba9 commit 1a19b03

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
- swift-version: 'tag:swift-6.2-RELEASE'
31+
- swift-version: '6.2'
32+
#- swift-version: 'tag:swift-6.2-RELEASE'
3233
#- swift-version: 'tag:swift-DEVELOPMENT-SNAPSHOT-2025-09-14-a'
3334
#- swift-version: 'tag:swift-6.2-DEVELOPMENT-SNAPSHOT-2025-09-10-a'
3435
build-type: 'docker'

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,6 @@ for arch in $archs; do
439439
# use an out-of-tree build folder
440440
export SWIFT_BUILD_ROOT=${build_dir}/swift-project
441441

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-
448442
./swift/utils/build-script \
449443
$build_type_flag \
450444
--reconfigure \

swift-ci/sdks/android/scripts/fetch-source.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ elif [[ $SWIFT_VERSION == tag:* ]]; then
149149
utils/update-checkout ${clone_arg} --tag ${SWIFT_VERSION#tag:} ${extra_args}
150150
else
151151
utils/update-checkout ${clone_arg} --tag swift-${SWIFT_VERSION}-RELEASE ${extra_args}
152+
if [[ $SWIFT_VERSION == '6.2' ]]; then
153+
curl -fsSL https://github.com/swiftlang/swift/pull/84061.patch > 84061.patch
154+
git apply 84061.patch
155+
fi
152156
fi
153157

154158
popd >/dev/null

swift-ci/sdks/android/scripts/toolchain-vars.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ elif [[ $SWIFT_VERSION == scheme:* ]]; then
4949
echo "Building $SWIFT_VERSION with prebuilt Swift $RELEASE_TAG compiler"
5050
BUILD_COMPILER=yes
5151
echo "Branch scheme builds always build the Swift compiler from source and take much longer."
52-
else
53-
echo "Invalid Swift version=${SWIFT_VERSION}"
54-
exit 1
5552
fi
5653

5754
SWIFT_BASE=$SWIFT_TAG-$HOST_OS

0 commit comments

Comments
 (0)