Skip to content

Conversation

mhrawdon
Copy link
Contributor

This will greatly reduce the number of tests which fail when there is a problem with the downloadable Metal toolchain.

This is off by default, since very few tests need this. Two tests currently opt in.

…toolchain

This will greatly reduce the number of tests which fail when there is a problem with the downloadable Metal toolchain.

This is off by default, since very few tests need this. Two tests currently opt in.
@mhrawdon
Copy link
Contributor Author

@swift-ci test

@mhrawdon mhrawdon enabled auto-merge (rebase) August 21, 2025 23:40
@mhrawdon mhrawdon merged commit 100783c into swiftlang:main Aug 21, 2025
36 checks passed
let toolchainSearchPath: String
}

let result = try await Process.getOutput(url: URL(fileURLWithPath: activeDeveloperPath.join("usr/bin/xcodebuild").str), arguments: ["-showComponent", "metalToolchain", "-json"], environment: ["DEVELOPER_DIR": activeDeveloperPath.str])
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should use runProcess instead, since it already wraps getOutput with the necessary plumbing to emit a good error message if the command fails.

@mhrawdon mhrawdon deleted the mhrawdon/configure-loading-metal-toolchain branch October 2, 2025 20:08
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