Skip to content

Separate toolchain discovery from build settings #143

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 3 commits into from
Aug 15, 2019

Conversation

rmaz
Copy link
Contributor

@rmaz rmaz commented Aug 15, 2019

Conflating the toolchain discovery into file specific build settings causes multiple settings calls per file. Add a separate interface to fetch the toolchain for a workspace, and default to asking only the first build server. This fixes the duplicate settings calls and allows for faster toolchain lookup for build systems that can determine this quickly.

@rmaz rmaz requested a review from benlangmuir as a code owner August 15, 2019 18:09
@benlangmuir
Copy link
Contributor

@swift-ci please test

@benlangmuir benlangmuir merged commit 22eeb4f into swiftlang:master Aug 15, 2019
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