Skip to content

Allow initializing the build system with the containing toolchain as the developer path #381

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
Apr 8, 2025

Conversation

owenv
Copy link
Collaborator

@owenv owenv commented Apr 7, 2025

Start distinguishing between the various "kinds" of developer path (Xcode, swift toolchain, fallback). This allows us to distinguish between them in a few key places, such as when we create the stack of default toolchains in settings construction.

@owenv
Copy link
Collaborator Author

owenv commented Apr 7, 2025

@swift-ci test

@@ -169,8 +174,26 @@ public final class Core: Sendable {

public let pluginManager: PluginManager

public enum DeveloperPath: Sendable, Hashable {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, this is great, our previous model definitely didn't well capture the idea that we need to support:

  • macOS with Xcode only
  • macOS with swift.org toolchain + DCLT
  • macOS with swift.org toolchain + Xcode

@owenv owenv force-pushed the owenv/toolchain-dev-path branch from b9c664c to c65c141 Compare April 7, 2025 20:52
@owenv
Copy link
Collaborator Author

owenv commented Apr 7, 2025

@swift-ci test

@owenv owenv force-pushed the owenv/toolchain-dev-path branch from c65c141 to 238d66d Compare April 7, 2025 22:22
@owenv owenv requested a review from jonathanpenn as a code owner April 7, 2025 22:22
@owenv
Copy link
Collaborator Author

owenv commented Apr 7, 2025

@swift-ci test

@owenv owenv force-pushed the owenv/toolchain-dev-path branch from 238d66d to 5d6337b Compare April 7, 2025 23:24
@owenv
Copy link
Collaborator Author

owenv commented Apr 7, 2025

@swift-ci test

@owenv owenv merged commit 41553c1 into main Apr 8, 2025
3 checks passed
@owenv owenv deleted the owenv/toolchain-dev-path branch April 8, 2025 16:09
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.

3 participants