-
Notifications
You must be signed in to change notification settings - Fork 1.4k
SwiftBuild: Add index store support #9388
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
base: main
Are you sure you want to change the base?
SwiftBuild: Add index store support #9388
Conversation
| let fileSystem: FileSystem | ||
|
|
||
| /// The build parameters | ||
| let buildParameters: BuildParameters |
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.
We should avoid passing all the build parameters into the PIF builder, because generally things like platform changes shouldn't affect the output. Could we unconditionally encode the "auto" behavior in the PIF, and then override it to YES or NO in the build request if needed?
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.
Good call, I'll give that a try!
| $0.severity == .error | ||
| }.isEmpty) | ||
|
|
||
| pif.workspace.projects.forEach({ project in |
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.
chore: remove this code block.
93e0475 to
9855f6c
Compare
Update the PIF builder to take into account of the `--[auto|disable|enable]-index-store` command line option. When set to `auto`, the PIF builder behaviour does the same as the Native build system. Fixes: swiftlang#9325 Issue: rdar://163961900
9855f6c to
5c79ce1
Compare
Update the PIF builder to take into account of the
--[auto|disable|enable]-index-storecommand line option.When set to
auto, the PIF builder behaviour does the same as the Native build system.Fixes: #9325
Issue: rdar://163961900