Skip to content

Conversation

andriydruk
Copy link
Member

No description provided.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link

@cursor cursor bot left a 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

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

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant