<div dir="ltr"><div><div><div><div><div>hi Alex,<br><br></div>thanks for your feedback. about your point on MPI wrapper compiler, can you hint me a project which needs that (and has a little intro for beginners how to compile/install)? would like to experiment this anomaly and fix the problem.<br><br></div>(1) yes<br></div>(2) compiler can be anything in a <a href="http://clang.llvm.org/docs/JSONCompilationDatabase.html">compilation database</a>. this particular file is used in tests are consumed by `analyze-build`. wanted to pin down that it also works with any compiler name. (can't write comment in JSON files, sorry)<br><br></div>regards,<br></div>Laszlo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 24, 2016 at 10:20 PM, Alexander Droste <span dir="ltr"><<a href="mailto:alexander.ra.droste@googlemail.com" target="_blank">alexander.ra.droste@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, I thought it had been completed when<br>
<a href="https://reviews.llvm.org/D9600" rel="noreferrer" target="_blank">https://reviews.llvm.org/D9600</a> was committed.<br>
Thanks for giving an overview about the state.<br>
I've been using the scripts since the commit<br>
on a dozen of projects and didn't experience any<br>
problems.<br>
<br>
But I would like to point out one thing:<br>
Using 'intercept-build' and then 'analyze-build'<br>
seems to act a little different than only using<br>
'scan-build' when it comes to wrapper compilers.<br>
'intercept-build + analyze-build' works in case of<br>
using an MPI wrapper compiler, whereas 'scan-build'<br>
never emits any reports.<br>
<br>
(1) The shared library is made of a single file, right (ear.c)?<br>
<br>
(2) Regarding the tests, the compilation databases<br>
sometimes denote 'g++' as the used compiler.<br>
<a href="https://github.com/llvm-mirror/clang/blob/master/tools/scan-build-py/tests/functional/src/compilation_database/build_clean.json.in#L4" rel="noreferrer" target="_blank">https://github.com/llvm-mirror<wbr>/clang/blob/master/tools/scan-<wbr>build-py/tests/functional/src/<wbr>compilation_database/build_<wbr>clean.json.in#L4</a><br>
This seems suspicious. Shouldn't this be 'cc'?<br>
<br>
Cheers,<br>
Alex<div class="HOEnZb"><div class="h5"><br>
<br>
On 24.09.16 03:24, Anna Zaks wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+ Laszlo<br>
<br>
The scan-build-py script is currently under development. The main remaining pieces are:<br>
<br>
(1) Build the library interposition shared libraries as part of the normal clang build process with CMake. This will make sure the library is built with the same compiler that builds clang.<br>
(2) Integrate scan-build-py's unit and functional tests into clang’s lit-based test suite so they can be run on the bots. Without this we can't qualify scan-build-py as part of clang 4.x releases.<br>
(3) Dogfood and fix bugs if any.<br>
(4) Actually add the script installation code.<br>
<br>
Are you using the script?<br>
<br>
Thanks!<br>
Anna.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sep 13, 2016, at 5:22 AM, Alexander Droste via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br>
<br>
Hi,<br>
<br>
I'd like to know why some scripts like 'run-clang-tidy.py' get installed<br>
into a separate folder (/usr/local/share/clang instead of /usr/local/bin on<br>
OSX) and why the scan-build Python package, including intercept-build and<br>
analyze-build, is not part of the installation at all. Is there an option<br>
to choose the Python scan-build version?<br>
<br>
-Alex<br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br></div>