failed to work with ninja
Open
- Dominant language
- OCaml
- Stars
- 15.7k
- Forks
- 2.1k
- Avg merge
- 19h 36m
- Merged PRs (30d)
- 13
Description
1. generate compilation database file (cmd.json) from ninja's build.ninja
2. infer --compilation-database cmd.json
got a lot of errors, many caused by: No such file or directory
it looks like infer can't handle non-compile command, such as:
{
"directory": "/data/trunk",
"command": "PYTHONPATH=/data/trunk/thirdparty/aa.zip:$PYTHONPATH python -m toolchain scm build64_release/scm.cc 190634 http://abc.com/trunk release \"GCC 5.5.0\"",
"file": ""
}
Contributor guide
Assessment
This issue has not been assessed yet.