facebook / facebook/infer

failed to work with ninja

Aperta
#1,028 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
OCaml
Stelle
15.7k
Fork
2.1k
Merge medio
19h 36m
PR unite (30g)
13

Descrizione

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": ""
}

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.