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
Use argfile support in zinc and rsc #7868
Use argfile support in zinc and rsc #7868
Conversation
The bottom two commits here are from #7861, which cleaned up the arguments in the |
efccd68
to
f5ff4ae
Compare
Commits are useful to review independently. |
Although this is merge-conflicted due to the bottom two patches, it was green in https://travis-ci.org/pantsbuild/pants/builds/542554975 . Would appreciate folks taking a look! |
f5ff4ae
to
60432ac
Compare
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.
Awesome!
### Problem In hermetic and subprocess environments, large targets can fail with "argument list too long" errors. As of #6803, `zinc` supports `@argfile`s, and `rsc` has supported them for a while. ### Solution Use `@argfile` support in all environments (to minimize variability). ### Result subprocess and hermetic modes scale to larger contexts.
### Problem In hermetic and subprocess environments, large targets can fail with "argument list too long" errors. As of pantsbuild#6803, `zinc` supports `@argfile`s, and `rsc` has supported them for a while. ### Solution Use `@argfile` support in all environments (to minimize variability). ### Result subprocess and hermetic modes scale to larger contexts.
Problem
In hermetic and subprocess environments, large targets can fail with "argument list too long" errors. As of #6803,
zinc
supports@argfile
s, andrsc
has supported them for a while.Solution
Use
@argfile
support in all environments (to minimize variability).Result
subprocess and hermetic modes scale to larger contexts.