File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed
swift-ci/sdks/android/scripts Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ elif [[ $SWIFT_VERSION == tag:* ]]; then
149149 utils/update-checkout ${clone_arg} --tag ${SWIFT_VERSION# tag: } ${extra_args}
150150else
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
152156fi
153157
154158popd > /dev/null
Original file line number Diff line number Diff 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
5552fi
5653
5754SWIFT_BASE=$SWIFT_TAG -$HOST_OS
You can’t perform that action at this time.
0 commit comments