[cfe-dev] Configuration files

Hubert Tong via cfe-dev cfe-dev at lists.llvm.org
Mon Sep 19 07:16:08 PDT 2016


On Mon, Sep 19, 2016 at 9:37 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> On 19 September 2016 at 14:25, Hubert Tong
> <hubert.reinterpretcast at gmail.com> wrote:
> > I believe that if the replacement behaviour is the default, then there
> ought
> > to be an "inherit" behaviour (like include/include-next).
>
> IMO that would be prohibitively expensive, hard to debug and hard to
> get users to do anything useful if the system already has a list of
> system configurations.
>
> It would also not make sense without an "include" directive, since an
> order of inheritance would have to be assumed / hacked through
> instead.
>
> Instead, it should be very easy to copy the system config and change a
> few things for your use case on your home dir.
>
I'm worried that, as a user's environment has more Clang-based
configurations (say, for different targets or different projects), that the
copy/paste becomes unmanageable. As it is, the "home dir" modified copy of
the system config solution already assumes that the user is not working off
a home directory shared via network for use on systems where there is no
common "system config".


> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160919/71085e0a/attachment-0001.html>


More information about the cfe-dev mailing list