-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Pass symbol graph options to swift build to customize the output #9124
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
Pass symbol graph options to swift build to customize the output #9124
Conversation
@swift-ci please test |
@swift-ci please test |
@swift-ci test Windows |
@swift-ci test Linux |
@swift-ci please test |
@swift-ci test Windows |
@swift-ci please test |
@swift-ci test Windows |
@swift-ci test Windows |
enableAllTraits: true, | ||
cacheBuildManifest: false | ||
) | ||
// TODO pass along the various flags as associated values to the symbol graph build output (e.g. includeSPISymbols) |
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.
nit: is this TODO still applicable with this change?
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.
Thanks, I'll pull this comment out. It should be done after this PR lands.
public static func == (lhs: BuildOutput, rhs: BuildOutput) -> Bool { | ||
switch lhs { | ||
case .symbolGraph(_): | ||
return false |
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.
This seems potentially incorrect, what do we use this Equatable conformance for at the moment?
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.
It's for the simpler build outputs to see if they are in the array/set. This one has an associated value now that makes it harder to manage. Perhaps this should compare the associated value structure for lhs against rhs, or perhaps there is a better pattern for this.
Remove extraneous comment
@swift-ci please test |
@swift-ci test Windows |
No description provided.