New issue
Advanced search Search tips

Issue 898385 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Problems building clang db

Project Member Reported by sky@chromium.org, Oct 24

Issue description

I was trying to build the clang db. Last time around I used:

./tools/clang/scripts/run_tool.py empty_string  --generate-compdb output-dir

But that now errors out. It's entirely possible I'm doing something wrong. Any suggestions?

 
Well, what's the error?

Locally I'm getting

run_tool.py: error: argument --tool is required

and if I add that in front of "empty_string", I get

run_tool.py: error: argument -p is required

Should --generate-compdb obviate the need for -p? Looks like dcheng touched -p last and hopefully knows what's up. (sky, please confirm that this is the problem you're seeing locally)
Sorry for not pasting the error. I got the same error as you:

./tools/clang/scripts/run_tool.py empty_string  --generate-compdb out/Debug
usage: run_tool.py [-h] [--options-file OPTIONS_FILE] --tool TOOL [--all] [--generate-compdb] [--shard <n>-of-<count>] -p P [--tool-arg [TOOL_ARG]]
                   [--tool-path [TOOL_PATH]]
                   [path_filter [path_filter ...]]
run_tool.py: error: argument --tool is required

Sign in to add a comment