-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Provide the downloadable metal toolchain to swiftbuild #9434
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
Conversation
|
@swift-ci test |
jakepetroules
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just one had minor point of feedback about the correctness of handling $(inherited) in constructing the build settings.
|
@swift-ci test |
|
@swift-ci test |
| name: "SwiftBuildSupportTests", | ||
| dependencies: ["SwiftBuildSupport", "_InternalTestSupport", "_InternalBuildTestSupport"] | ||
| ), | ||
| .testTarget( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should consider putting the new test in SwiftBuildSupportTests instead of creating a whole new test target since this is a fairly specific test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll include a follow-up
|
@swift-ci test |
|
@swift-ci test windows self hosted |
|
@swift-ci test |
|
|
||
| #if os(macOS) | ||
| @Test( | ||
| .disabled("Require downloadable Metal toolchain"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (non-blocking): is it possible to detect the location of the metal toolchain and enable the test if it's detected?
|
@swift-ci test macOS |
|
@swift-ci test windows |
# Conflicts: # Sources/SwiftBuildSupport/SwiftBuildSystem.swift
|
@swift-ci test |
1 similar comment
|
@swift-ci test |
|
@swift-ci test |
|
@swift-ci test |
|
@swift-ci test linux |
|
@swift-ci test |
|
@swift-ci Please Test Amazon Linux 2 |
|
@swift-ci test linux |
Provide the downloadable metal toolchain to swiftbuild using EXTERNAL_TOOLCHAINS_DIR env variable
Motivation:
#9202 [Parity] error: unable to spawn process 'metal' (No such file or directory)
Requires CI to include Metal toolchain in order to enable Metal tests:
#9443