Skip to content

Commit b2ae329

Browse files
committed
Get latest trunk tag again on CI and remove upstreamed patch
1 parent 9160892 commit b2ae329

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/sdks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
SWIFT_TAG="swift-6.2-DEVELOPMENT-SNAPSHOT-${LATEST_TOOLCHAIN_VERSION}-a"
2929
else
3030
LATEST_TOOLCHAIN_VERSION=$(curl -sL https://github.com/apple/swift/tags | grep -m1 swift-DEV | cut -d- -f7-9)
31-
SWIFT_TAG="swift-DEVELOPMENT-SNAPSHOT-2025-06-22-a"
32-
# ${LATEST_TOOLCHAIN_VERSION}-a"
31+
SWIFT_TAG="swift-DEVELOPMENT-SNAPSHOT-${LATEST_TOOLCHAIN_VERSION}-a"
3332
fi
3433
echo "tag=$SWIFT_TAG" >> $GITHUB_OUTPUT
3534
echo "key=$SWIFT_TAG-ndk-${NDK_VERSION}-get-bundle" >> $GITHUB_OUTPUT

swift-android-testing-release.patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
diff --git a/swift/utils/build-script-impl b/swift/utils/build-script-impl
2+
index 16e05052609..7ab8cebfab8 100755
3+
--- a/swift/utils/build-script-impl
4+
+++ b/swift/utils/build-script-impl
5+
@@ -828,6 +828,9 @@ function set_build_options_for_host() {
6+
# and it must be the same for both LLVM and Swift
7+
8+
if [[ "${SWIFT_HOST_TRIPLE}" ]] ; then
9+
+ SWIFT_TARGET_CMAKE_OPTIONS+=(
10+
+ -DCMAKE_Swift_COMPILER_TARGET:STRING="${SWIFT_HOST_TRIPLE}"
11+
+ )
12+
llvm_cmake_options+=(
13+
-DLLVM_HOST_TRIPLE:STRING="${SWIFT_HOST_TRIPLE}"
14+
)
115
diff --git a/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py b/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py
216
index b6bfa5760ef..324d1a77eea 100644
317
--- a/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py

swift-android.patch

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ diff --git a/swift/utils/build-script-impl b/swift/utils/build-script-impl
22
index 16e05052609..7ab8cebfab8 100755
33
--- a/swift/utils/build-script-impl
44
+++ b/swift/utils/build-script-impl
5-
@@ -828,6 +828,9 @@ function set_build_options_for_host() {
6-
# and it must be the same for both LLVM and Swift
7-
8-
if [[ "${SWIFT_HOST_TRIPLE}" ]] ; then
9-
+ SWIFT_TARGET_CMAKE_OPTIONS+=(
10-
+ -DCMAKE_Swift_COMPILER_TARGET:STRING="${SWIFT_HOST_TRIPLE}"
11-
+ )
12-
llvm_cmake_options+=(
13-
-DLLVM_HOST_TRIPLE:STRING="${SWIFT_HOST_TRIPLE}"
14-
)
155
@@ -2622,6 +2622,7 @@ for host in "${ALL_HOSTS[@]}"; do
166
echo "Cleaning the libdispatch build directory"
177
call rm -rf "${LIBDISPATCH_BUILD_DIR}"

0 commit comments

Comments
 (0)