facebook / facebook/infer

failed to work with ninja

Open
#1,028 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.