Skip to content

[CMake] Reduce build dependencies #1036

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
merged 4 commits into from
Oct 28, 2022

Conversation

DougGregor
Copy link
Member

Eliminate build dependencies on both _StringProcessing and the platform (Darwin / Glibc) when building in CMake to be embedded in the compiler. This eliminates a dependency cycle in some build configurations, fixing rdar://101650446

We don't want the compiler to depend on _StringProcessing through
the parser.
Reduce platform dependencies by going single-threaded-only when building
within the compiler (which is hopelessly single-threaded anyway). This
helps eliminate cyclic build dependencies.
@DougGregor DougGregor requested a review from ahoppen as a code owner October 28, 2022 06:13
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit fc2b5f2 into swiftlang:main Oct 28, 2022
@DougGregor DougGregor deleted the cmake-reduce-build-dependencies branch October 28, 2022 20:30
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.

1 participant