You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not currently possible to reasonably replicate the behavior of bazel print_action --nobuild --compile_one_dependency path/to/source_file.cc using bazel aquery. While print_action and --compile_one_dependency exist, this isn't a huge deal but as the latter is intended to be removed, it would be good to have a reasonable replacement.
Which category does this issue belong to?
Core
What underlying problem are you trying to solve with this feature?
Provide a suitable replacement for --compile_one_dependency before it goes away.
Which operating system are you running Bazel on?
Linux
What is the output of bazel info release?
release 6.5.0-7
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD ?
Have you found anything relevant by searching the web?
Primarily just the comment indicating that --compile_one_dependency is going to be removed #13419 (comment)
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered:
I cannot remember the blockers for allowing same_pkg_direct_rdeps to be available for aquery. But I remember that aquery with same_pkg_direct_rdeps were not enough to exactly replace what print_action --compile_one_dependency does. For example print_action can actually perform a build on the selected target while aquery does not. Also --compile_one_dependency can unwrap filegroup chains to get to a meaningful rdep of the give file while same_pkg_direct_rdeps does not do that. Maybe siblings can be a better fit in this case but it is also not available for aquery IIRC.
Description of the feature request:
It's not currently possible to reasonably replicate the behavior of
bazel print_action --nobuild --compile_one_dependency path/to/source_file.cc
usingbazel aquery
. Whileprint_action
and--compile_one_dependency
exist, this isn't a huge deal but as the latter is intended to be removed, it would be good to have a reasonable replacement.Which category does this issue belong to?
Core
What underlying problem are you trying to solve with this feature?
Provide a suitable replacement for
--compile_one_dependency
before it goes away.Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 6.5.0-7
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?Have you found anything relevant by searching the web?
Primarily just the comment indicating that
--compile_one_dependency
is going to be removed#13419 (comment)
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: