[cfe-commits] r159483 - /cfe/trunk/test/CMakeLists.txt

Chandler Carruth chandlerc at gmail.com
Mon Jul 2 13:53:38 PDT 2012


On Mon, Jul 2, 2012 at 1:51 PM, Jordan Rose <jordan_rose at apple.com> wrote:

>
> On Jul 2, 2012, at 13:48 , Chandler Carruth <chandlerc at gmail.com> wrote:
>
>
> On Mon, Jul 2, 2012 at 1:45 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>
>> Yes, that did it. (Sorry, for no feedback; out at lunch.)
>>
>>  On Mon, Jul 2, 2012 at 11:00 AM, Jordan Rose <jordan_rose at apple.com>wrote:
>>>>
>>>>> This is not a standalone build, but it is a separate build from LLVM.
>>>>
>>>>
>>>> I'm not aware of such a variation? the 'CLANG_BUILT_STANDALONE' is set
>>>> explicitly in the cmake files when the Clang tree is built separately from
>>>> the LLVM tree.
>>>>
>>>
>>
>> Sorry, I thought a standalone build meant "no LLVM sources available",
>> since there is a separate case in tests/CMakeLists.txt for that. It looks
>> like it's supposed to be possible to build Clang merely with LLVM headers
>> and built products, but that's not what I'm doing.
>>
>
> Amusingly, I think that what you're describing *is* the standalone mode...
> :: shrug ::
>
>
> Do we need a different terminology for when CLANG_PATH_TO_LLVM_SOURCE is
> empty but CLANG_PATH_TO_LLVM_BUILD is present? (Is that even supported? Eh.)
>
>
> Unfortunately, even though "check-clang" builds now in standalone mode, it
>> still prints out PASS messages for everything that passes,
>>
>
> Wait wait, I think I've seen that. I can try a few blind commits (or mail
> you patches) that might help.
>
>
> Patches accepted. :-) I'll try out what you've got locally first.
>

It was obvious: r159582. I can't promise that's *enough* but it seems
definitely a good initial step. Let me know if that helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120702/3ad2eeec/attachment.html>


More information about the cfe-commits mailing list