-
Notifications
You must be signed in to change notification settings - Fork 180
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 COPY_EXECUTION_REQUIREMENTS optional #533
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, we have
bazel-skylib/rules/private/copy_common.bzl
Lines 18 to 45 in fa66e6b
Copy*
actions.This is a sane default for a local build, but for a fully remote build with Build without the Bytes turned on, this requirement causes Bazel to fetch the inputs locally, run the action, and upload the outputs. As a result, the build is dramatically slowed down compared to running these actions remotely and letting the RBE system handle the optimization.
I think it would make more sense if we create a separate execution group for these copy actions. The downstream rules/users could decide the default value of these execution properties for the copy group, or to override them.
https://bazel.build/extending/exec-groups
The text was updated successfully, but these errors were encountered: