Skip to content

When building stdlib, pass -prespecialize-generic-metadata from CMake, and respect the flag in IRGenModule::shouldPrespecializeGenericMetadata #38946

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

Merged

Conversation

kubamracek
Copy link
Contributor

No description provided.

@kubamracek
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@nate-chandler nate-chandler left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@kubamracek kubamracek force-pushed the stdlib-prespecialization-from-cmake branch from b899f63 to b55a6c8 Compare August 19, 2021 13:58
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - b55a6c8e96f1f68f0d722abbdad2d2d23dabbd72

…, and respect the flag in IRGenModule::shouldPrespecializeGenericMetadata
@kubamracek kubamracek force-pushed the stdlib-prespecialization-from-cmake branch from b55a6c8 to ed650c4 Compare August 19, 2021 22:57
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - ed650c4

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek merged commit 2fad626 into swiftlang:main Aug 20, 2021
@compnerd
Copy link
Member

Was there a reason that Windows wasn't included in the default?

@kubamracek
Copy link
Contributor Author

Was there a reason that Windows wasn't included in the default?

Hey! No particular reason - but I think the old behavior (before the change) was that prespecialization was already disabled on Windows? See the condition in IRGenModule::shouldPrespecializeGenericMetadata.

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.

4 participants