Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

As Swift CI nodes use Swift 5.9 and Swift 5.10, and as of swiftlang/swift-sdk-generator#227 Swift SDK Generator is no longer tested with Swift 5.9 and 5.10, we should build it with the freshly built toolchain. This will also unblock bump of swift-tools-version to 6.0 in the generator's package swiftlang/swift-sdk-generator#237.

As Swift CI nodes use Swift 5.9 and Swift 5.10, and as of swiftlang/swift-sdk-generator#227 Swift SDK Generator is no longer tested with Swift 5.9 and 5.10, we should build it with the freshly built toolchain. This will also unblock bump of `swift-tools-version` to 6.0 in the generator's package swiftlang/swift-sdk-generator#237
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci build toolchain

@MaxDesiatov MaxDesiatov added the cross-compilation Area → utils: Cross-compilation of project sources label Aug 19, 2025
swiftc_path = os.path.abspath(self.toolchain.swiftc)
toolchain_path = os.path.dirname(os.path.dirname(swiftc_path))
swift_run = os.path.join(toolchain_path, 'bin', 'swift-run')
swift_run = os.path.join(self.install_toolchain_path(host_target), "bin", "swift-run")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't it break builds with --native-swift-tools-path and skip-build-swift?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-compilation Area → utils: Cross-compilation of project sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants