Skip to content
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

Set --show_result=MAX_INT #13

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Set --show_result=MAX_INT #13

merged 1 commit into from
Oct 29, 2021

Conversation

pcj
Copy link
Member

@pcj pcj commented Oct 29, 2021

When compilation database has multiple targets...

    "bsv.cc.compdb.targets": [
        "//absl/time:time",
        "//absl/random:random",
    ],

...compilation database is empty. Since we are parsing the progress events for those files, it means no json files are found. This is because the bazel flag --show_result defaults to 1.

--show_result
default: integer 1
    Show the results of the build.  For each target, state whether or not it 
    was brought up-to-date, and if so, a list of output files that were built.  
    The printed files are convenient strings for copy+pasting to the shell, to 
    execute them.
    This option requires an integer argument, which is the threshold number of 
    targets above which result information is not printed. Thus zero causes 
    suppression of the message and MAX_INT causes printing of the result to 
    occur always.  The default is one.

affects_outputs

This PR sets it to MAX_INT.

Fixes #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generation fails for more than one target
1 participant