[cfe-dev] Configuration files

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Mon Sep 19 07:30:45 PDT 2016


I agree it's an issue, both ways.

Cheers,
Renato

On 19 Sep 2016 3:16 p.m., "Hubert Tong" <hubert.reinterpretcast at gmail.com>
wrote:

> 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/e9e1a50d/attachment.html>


More information about the cfe-dev mailing list