On 2 Jan 2024, at 16:19, Eelco Chaudron wrote:

> On 2 Jan 2024, at 13:43, Ilya Maximets wrote:
>
>

<SNIP>

>>>> +    fi;
>>>> +
>>>> +    configure_ovs $OPTS
>>>> +    make clean
>>>> +    scan-build -o ./clang-analyzer-results -sarif --use-cc=clang make -j4
>>
>> We have a make target for clang-analyze and it depends on the clean already.
>> Maybe we can extend it to accept custom arguments via env variable and pass
>> the '-sarif' this way?  E.g. make clang-analyze SCAN_BUILD_OPTIONS="-sarif".
>
> Let me look into this, as I like the idea.
>

I implemented this, but this resulted in a chicken and the egg problem. The 
reference build does not have this (for this commit) and it will fail the run. 
So will re-submit it as is.

//Eelco

<SNIP>

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to