Skip to content

How to see the list of outputs generated by a rule? #1020

Answered by kylepl
kylepl asked this question in Q&A
Discussion options

You must be logged in to vote

After a bunch of investigation, the key realization is you can look into the bazel-bin/<path to library>/copy_<library> folder to see what was generated. So to make sure that is visible and printed out (bazel prints it out), just don't require any outputs, and then navigate to this folder and poke around.

e.g. for openssl via http_archive, it is bazel-bin/external/openssl/copy_openssl

In my case, the out_lib_dir should have been lib64 instead of lib.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kylepl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant