Skip to content

remote: add support for in memory outputs - #7778

Closed
buchgr wants to merge 1 commit into
bazelbuild:masterfrom
buchgr:inline-outputs
Closed

buchgr wants to merge 1 commit into
bazelbuild:masterfrom
buchgr:inline-outputs

Conversation

@buchgr

@buchgr buchgr commented Mar 20, 2019

Copy link
Copy Markdown
Contributor

in preparation for #6862 add code that allows for Bazel rules to
request outputs in memory. It works by passing allowing an execution
requirement 'internal-inline-outputs' with a path to the output file
whose contents should be provided in memory.

this change introduces some necessary refactorings and adds code
implementing this functionality to the remote package but doesn't
turn this feature on. It will be enabled in a subsequent PR.

in preparation for bazelbuild#6862 add code that allows for Bazel rules to
request outputs in memory. It works by passing allowing an execution
requirement 'internal-inline-outputs' with a path to the output file
whose contents should be provided in memory.

this change introduces some necessary refactorings and adds code
implementing this functionality to the remote package but doesn't
turn this feature on. It will be enabled in a subsequent PR.
@benjaminp

Copy link
Copy Markdown
Collaborator

It's hard to see how this will fit together without the complete implementation. It would be nice to avoid needing getInlineOutput by, for example, noting the inline output while iterating the outputs in buildCommand.

@buchgr

buchgr commented Mar 21, 2019

Copy link
Copy Markdown
Contributor Author

@benjaminp fair points. i ll split it up into smaller changes.

@buchgr buchgr closed this Mar 21, 2019
bazel-io pushed a commit that referenced this pull request Mar 21, 2019
split out from #7778

Closes #7791.

PiperOrigin-RevId: 239638546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants