[cfe-dev] Small patches to allow fully independent clang/llvm/compiler-rt/libc++

James Y Knight via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 14 13:52:46 PDT 2015


I'd missed that thread, sorry! It's great that there's some agreement, at
least! :)

I think the key to getting something accomplished here is to keep it
simple: clang has command-line options already. If the configuration file
can be purely a way to get extra args included by default for certain
targets, it can be a *really* straight-forward change to make.

It seems to me mainly a question of defining exactly what conditions can be
predicated on when choosing whether to add some args.

On Wed, Oct 14, 2015 at 4:08 PM, Renato Golin <renato.golin at linaro.org>
wrote:

> On 14 October 2015 at 20:39, James Y Knight <jyknight at google.com> wrote:
> > How about, instead, having the clang driver read a config file?
>
> This seems to be the preferred solution for everybody that has to deal
> with these problems, and we have already discussed this extensively.
> The problem is implementing it without disrupting everything else.
>
> It's not impossible, but it requires a long streak of time and effort
> to do so, and this is not high enough on people's lists, even those
> that deal with it daily, to make the cut.
>
> There's another thread in cfe-dev about the "Clang Configuration
> Manager" that has some beginnings, and there are people interested in
> doing it. I think it's a start.
>
> About the rest, I agree with Eric's points. :)
>
> cheers,
> -renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151014/fc1fcc5a/attachment.html>


More information about the cfe-dev mailing list