-
Notifications
You must be signed in to change notification settings - Fork 137
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
Split derived files generation errors in incremental mode #835
Comments
I know swift does a form of split compilation in incremental mode. I also added code into the worker to make sure it copied files correctly. It might need this change: #699
|
I tried adding #699 to no change in effect. I'm noticing, also, that the rules_swift/swift/internal/compiling.bzl Lines 2466 to 2469 in 23c46bb
I'm not entirely sure what sorts of things should go in this file. |
You'll minimally need #699. It's not enough on its own to unlock incremental split mode. I would look to see how Xcode 14 is doing this, as now does incremental split mode. From it's commands you'll be able to piece together what rules_swift should do. |
The documentation for
swift.split_derived_files_generation
mentions whole module optimization, so this feature may only be applicable to that compilation mode:When this feature is enabled and incremental mode is used, then the following error is seen:
Can this feature be used for incremental mode? If this feature is only relevant for whole module optimization, then would it be possible to output an error to that effect?
The text was updated successfully, but these errors were encountered: