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
rdeps clauses in query are not executed in parallel #21731
Comments
This is basically a subset of #532. It certainly would be easier to implement, but it is still very much non-trivial. These are some old notes on the general problem.
@lberki or @ulfjack might have some ideas / comments on feasibility. |
As per my #532 (comment) , I'll close this bug as a duplicate of #532. Running multiple build commands in parallel would entail more work than doing so with query, but the latter is already an enormous task so I don't think it makes sense to separate the two. As much as I'd like to do this, I don't think we are going to get to this in the foreseeable future :( |
That said, the |
Description of the feature request:
I would like to be able to perform multiple
bazel query
operations in parallel without using a differentoutput_base
.Which category does this issue belong to?
Performance
What underlying problem are you trying to solve with this feature?
I need to query for
rdeps
but I need to exclude references to the package itself. Therefore I am using the following query:I do have N number of packages. Thus, I need to run this query N times. It would be great if I can do this in parallel.
I also did try with a combined query:
However, that does not seem to trigger any performance optimization within Bazel, i.e. all
(rdeps ...)
clauses seems to be executed sequentially one by another.Which operating system are you running Bazel on?
macOS 14.4
What is the output of
bazel info release
?7.0.1
The text was updated successfully, but these errors were encountered: