rizsotto / scan-build

Clang's scan-build re-implementation in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty compile_commands.json using Arm Compiler with Make

jvela018 opened this issue · comments

Hi,

Here are the steps to reproduce:

Download: $pip install scan-build
Terminal Command: $ intercept-build make -j$(nproc)

OS
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

Compiler: Arm Compiler for Embedded 6.21

I also tried different variations including overriding the compiler so that:

intercept-build --verbose --override-compiler --use-cc <path-to-my-compiler> make -j$(nproc)

The verbose flag didn't output anything. Any pointers on how to proceed from here?

BR,

/Jon

Hey @jvela018 ,

please use Bear to generate the compilation database. (That tool is better maintained, and have more options to control what compilers to recognize.)

Ok. I will move to Bear. I'll close this issue. Thanks