Skip to content

Fix --force-optimized-typechecker #21856

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

Conversation

gottesmm
Copy link
Contributor

I believe this was broken due to recent refactoring of cmake.


I double checked locally that this ensures that the typechecker has -O2 in its build lines by using ninja -t commands.

I believe this was broken due to recent refactoring of cmake.
@gottesmm gottesmm requested a review from compnerd January 14, 2019 22:28
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

The SWIFTLIB_ vs SWIFTLIB_SINGLE_ thing has bitten us before too. I really wish that we would stop trying to bend CMake and use it as it is meant to be used. Building things in a single configuration and having multiple invocations with cache files is going to be far less brittle.

@gottesmm gottesmm merged commit 68292d1 into swiftlang:master Jan 14, 2019
@gottesmm gottesmm deleted the pr-5461e68534a0c5ca319a86dfc0ff6a4f2a1a1692 branch January 14, 2019 23:45
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.

2 participants