Skip to content

IDE: Break CMake cycle involving IDE, FrontendTool, Frontend, and Migrator #61774

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 1 commit into from
Oct 28, 2022

Conversation

tshortli
Copy link
Contributor

The IDE, FrontendTool, Frontend, and Migrator libraries formed a strongly connected component in the CMake build graph. The weakest link I could find was from IDE to FrontendTool and Frontend, which was necessitated by the CompileInstance class (#40645). I moved a few files out of IDE into a new library to break the cycle.

@tshortli tshortli requested review from rintaro and etcwilde October 27, 2022 21:38
@tshortli
Copy link
Contributor Author

@rintaro I don't love the name IDETool for the library, suggestions welcome. One name I considered was SourceKitSupport.

@tshortli tshortli force-pushed the break-ide-frontend-cmake-cycle branch from b7aecf2 to d4413cf Compare October 27, 2022 21:50
…rator.

These libraries formed a strongly connected component in the CMake build graph. The weakest link I could find was from IDE to FrontendTool and Frontend, which was necessitated by the `CompileInstance` class (swiftlang#40645). I moved a few files out of IDE into a new IDETools library to break the cycle.
@tshortli tshortli force-pushed the break-ide-frontend-cmake-cycle branch from d4413cf to 58d82f0 Compare October 27, 2022 23:11
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli merged commit 812cc05 into swiftlang:main Oct 28, 2022
@tshortli tshortli deleted the break-ide-frontend-cmake-cycle branch October 28, 2022 04:33
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