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
The get_outs(label) builtin doesn't seem to return all the actual outputs of the given label.
The outputs that are returned reliably seem to be those literally defined within the outs= section of rules. However, it seems that outputs that are defined as output_dirs= and those dynamically assigned with the add_out(target, name, out) builtin don't get picked up later.
There might be some additional problems that cause this, namely that rules don't always seem to wait for build labels passed in as sources to finish building before running pre-build functions.
I haven't tested all cases, but at least for outputs assigned with add_out, adding those source labels to the deps= field seems to help.
The text was updated successfully, but these errors were encountered:
The get_outs(label) builtin doesn't seem to return all the actual outputs of the given label.
The outputs that are returned reliably seem to be those literally defined within the
outs=
section of rules. However, it seems that outputs that are defined asoutput_dirs=
and those dynamically assigned with the add_out(target, name, out) builtin don't get picked up later.There might be some additional problems that cause this, namely that rules don't always seem to wait for build labels passed in as sources to finish building before running pre-build functions.
I haven't tested all cases, but at least for outputs assigned with
add_out
, adding those source labels to thedeps=
field seems to help.The text was updated successfully, but these errors were encountered: