C++ Logo

sg15

Advanced search

Re: [Modules] [P3057] Two finer-grained compilation models for named modules

From: Ben Boeckel <ben.boeckel_at_[hidden]>
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

Received on 2023-12-02 13:32:17