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

C Bergström via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 14 04:38:34 PDT 2015


On Wed, Oct 14, 2015 at 6:11 PM, Renato Golin <renato.golin at linaro.org> wrote:
> On 14 October 2015 at 11:56, C Bergström <cbergstrom at pathscale.com> wrote:
>> I don't know if this approach is acceptable to upstream, but I'd like
>> to build "pure" clang packages without any system GNU dependency.
>
> Hi Chris,
>
> If I get it right, you're setting the defaults at CMake time, so that
> you don't have to specify it in the command line for that particular
> build.
>
> If that's so, I like where this is going, but I'm just one voice.
>
>
>> These patches allow that by making it a compile time option, but
>> shouldn't impact any current defaults.
>
> Some people may disagree on the principle, even if it doesn't affect
> current builds. But I'll let them voice their concerns. I may be
> biased towards build time parametrisation, so even my opinion is
> weakly held.
>
> cheers,
> --renato
>
> PS: Are you missing libc++abi intentionally? If not, may be good to add, too.

In regards to your comment at the top - exactly. I'm hoping others
don't mind allowing this to be an optional build option.

libc++abi - Not intentionally, but I'm unable to test it at the
moment. It should be trivial for someone else to add it.



More information about the cfe-dev mailing list