-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Instead of random file name, use a hash as a deterministic name for Swift source file list in _compile_swift_files #33190
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
Instead of random file name, use a hash as a deterministic name for Swift source file list in _compile_swift_files #33190
Conversation
@swift-ci please test |
Build failed |
@swift-ci please test macOS platform |
Build failed |
@swift-ci please test macOS platform |
Build failed |
@swift-ci please test macOS platform |
Build failed |
…wift source file list in _compile_swift_files
83a8333
to
bab94db
Compare
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
Build failed |
@swift-ci please test linux platform |
This fixes an unnecessary rebuild of the standard library every time you trigger a CMake configure step, which was caused by using a random file name in the command line that builds stdlib. Let's use a hash of the content to get a deterministic file name.