-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Make d8 dex builder compatible with persistent worker mode #10241
Comments
@sgjesse - I noticed you've made a number of commits to add |
I tried changing Any pointers as we'd love to try this out. |
The reason you do not find The work I have been doing is moving blaze desugaring to use the D8 desugaring engine, and that is still WIP. Supporting persistent workers can be a side effect of this work, as this will also move the bazel specific code out of the R8 repository so that bazel support only uses the public D8/R8 API. |
@sgjesse - Great to hear, persistent worker support for D8 is something we're expecting to help improve our build times. Is the plan to have Desugaring performed in a separate Action to Dexing or will they be combined into a single Action? I'm wondering if any thought has been given regarding the tradeoffs for performance (isn't it faster to do both in the same pass?) and whether any consideration has been given to making desugaring optional for certain rules, e.g: R classes / Nano protos etc don't need desugaring. Really excited by this work, please let me know if there's anything we can do to test it out early, more than happy to give feedback, report issues etc. |
@sgjesse - Hi Soren, any update on this? Will it be available as an option in the next release of Bazel? We have a pretty big Android codebase at Snap - I'd love to give it a try and report back any issues. |
Any updates on this? I see that |
might be related #14623 |
#14623 landed so you can start passing |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
This has been implemented |
Description of the problem / feature request:
Make d8 dex builder compatible with the persistent worker mode.
Feature requests: what underlying problem are you trying to solve with this feature?
D8 dex builder doesn't support the local persistent worker mode, so users have to specify --nouse_workers_with_dexbuilder flag additionally. Even worse, failing to do so can lead to an obscure behavior that can be challenging to debug. Fix it so that the flag is not required.
The text was updated successfully, but these errors were encountered: