Date: Sat, 2 Dec 2023 08:32:13 -0500
On Wed, Nov 29, 2023 at 10:46:59 +0200, Boris Kolpackov via SG15 wrote:
> Chuanqi Xu <chuanqi.xcq_at_[hidden]> writes:
> > Out of curiosity, when a separate tool is harder for build system to
> > support?
>
> Ren?'s reply is spot on: the build system needs to locate the separate
> tool.
Yes, finding *the* `clang-scan-deps` to use for an arbitrary `clang` is
the main issue with a separate tool. There are confounding situations
like `/usr/lib64/ccache/clang -> /usr/bin/clang` that make finding out
what `clang` is *actually* in use difficult. `clang-scan-deps` has also
had issues with the `ccache` interposers confusing resource location
detection as well (though I believe this is/has been resolved).
--Ben
> Chuanqi Xu <chuanqi.xcq_at_[hidden]> writes:
> > Out of curiosity, when a separate tool is harder for build system to
> > support?
>
> Ren?'s reply is spot on: the build system needs to locate the separate
> tool.
Yes, finding *the* `clang-scan-deps` to use for an arbitrary `clang` is
the main issue with a separate tool. There are confounding situations
like `/usr/lib64/ccache/clang -> /usr/bin/clang` that make finding out
what `clang` is *actually* in use difficult. `clang-scan-deps` has also
had issues with the `ccache` interposers confusing resource location
detection as well (though I believe this is/has been resolved).
--Ben
Received on 2023-12-02 13:32:17