-
Notifications
You must be signed in to change notification settings - Fork 32
Swift 6.2 #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Swift 6.2 #73
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Clang Snapshot Path Mismatch
The script hardcodes a specific snapshot date in the toolchain path for accessing clang
. This conflicts with swiftly install 6.2-snapshot
, which installs the latest available snapshot with a dynamic date. Consequently, the hardcoded directory does not exist, causing the pushd
command and clang
version check to fail. The toolchain name should be dynamically determined, consistent with SWIFT_PATH
export.
build/020-clone-swift.sh#L55-L61
swift-android-toolchain/build/020-clone-swift.sh
Lines 55 to 61 in 7092eda
swiftly install 6.2-snapshot | |
swiftly use 6.2-snapshot | |
pushd .local/share/swiftly/toolchains/6.2-snapshot-2025-07-04/usr/bin/ | |
./clang --version | |
popd |
Was this report helpful? Give feedback by reacting with 👍 or 👎
Note
Upgrade to Swift 6.2 with Swiftly-based bootstrap, refresh build dependencies, adjust Android presets, and remove several custom patches.
6.2
and updatebuild/version
to6.2-r1
.swiftly
(install/use6.2-snapshot
; exportSWIFT_PATH
).build/000-install-dependencies-nobel.sh
and addjq
for Swiftly.patches/swift/0001-Add-presets-for-android-x86-x86_64.patch
withpatches/swift/0001-Add-presets-for-android-x86.patch
(adds x86 preset; x86_64 handled upstream).patches/swift-corelibs-foundation/0011-fix-parsing-tzdata-version-2-plus.patch
patches/swift-corelibs-foundation/0014-add-swift-syntax-source-dir-variable.patch
patches/swift-corelibs-foundation/0015-add-empty-CFPosixSpawnFileActionsChdir-for-android.patch
patches/swift-foundation/0001-open-range-attributed-string-from-nsrange.patch
patches/swift-syntax/0001-replace-bionic-with-android.patch
Written by Cursor Bugbot for commit 8f0d496. This will update automatically on new commits. Configure here.