-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Rework swift-stress-tester repo building #21523
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
Rework swift-stress-tester repo building #21523
Conversation
This change makes build-script-impl use a new, shared version of swift-stress-tester’s build-script-helper.py which also supports building swift-evolve. It also adds the necessary flags and variables to build swift-evolve from build-script.
These changes allow an invocation to specify whether it should build SourceKitStressTester or SwiftEvolve. In theory, it should behave virtually identically for SourceKitStressTester, but also work for SwiftEvolve. This commit also contains matching changes to SwiftEvolve’s package configuration. With those changes, it will build correctly *only* through build-script-helper. Finally, it includes changes to evolve-swiftCore.sh to build SwiftEvolve through the swift build-script command. This won’t actually work until swiftlang/swift#21523 lands with that support, so evolve-swiftCore.sh is temporarily broken.
Please test with following pull request: @swift-ci Please Build Toolchain macOS Platform |
(Using the toolchain build to test that swift-stress-tester will still build with these changes.) |
Please test with following pull request: @swift-ci Please Build Toolchain macOS Platform |
macOS Toolchain Install command |
@swift-ci please smoke test |
@swift-ci please build toolchain |
@brentdax This is a known issue, I will try to look into this issue. However, you should be able to download the toolchain. |
This change makes build-script-impl use a new, shared version of swift-stress-tester’s build-script-helper.py which also supports building swift-evolve. It also adds the necessary flags and variables to build swift-evolve from build-script.
This PR depends on swiftlang/swift-stress-tester#26, which moves the script to its new location and leaves a shim at the old name for compatibility. That PR has now landed, so this one can be merged when ready.
To do: