[Lldb-commits] [lldb] r210035 - Fix most of the remaining Windows build warnings.
Kuba Břečka
kuba.brecka at gmail.com
Mon Jun 16 17:45:24 PDT 2014
Hi Todd,
yes, it's failing on my OS X. I would too expect
LLVM_COMPILER_IS_GCC_COMPATIBLE
to be false, but HandleLLVMStdlib.cmake says otherwise:
if(CMAKE_COMPILER_IS_GNUCXX)
set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
elseif( MSVC )
set(LLVM_COMPILER_IS_GCC_COMPATIBLE OFF)
elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" )
set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
endif()
Kuba
On Mon, Jun 16, 2014 at 5:28 PM, Todd Fiala <tfiala at google.com> wrote:
> Hi Kuba,
>
> I've been running on both MacOSX and Linux with the change in place. On
> MacOSX I'm using the canonical MacOSX build, Xcode-based. It's been a
> while since I built MacOSX with cmake primarily because I cannot get that
> build to run any tests successfully on my end.
>
> Have you tried it on OSX and it's failing? I would expect
> LLVM_COMPILER_IS_GCC_COMPATIBLE to be false on MacOSX and thus for the
> check to be no change w/r/t cmake MacOSX if I read it right.
>
>
> On Mon, Jun 16, 2014 at 3:08 PM, Kuba Břečka <kuba.brecka at gmail.com>
> wrote:
>
>> I think this patch breaks builds on default OS X systems. Or is there
>> anything else than just "cmake ../llvm; make" for OS X?
>>
>> Kuba
>>
>> Modified: lldb/trunk/CMakeLists.txt
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=210035&r1=210034&r2=210035&view=diff
>>>
>>> ==============================================================================
>>> --- lldb/trunk/CMakeLists.txt (original)
>>> +++ lldb/trunk/CMakeLists.txt Mon Jun 2 12:30:22 2014
>>> @@ -218,9 +218,7 @@ macro(add_lldb_library name)
>>> endif ()
>>>
>>> if(LLDB_USED_LIBS)
>>> - if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR
>>> - CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR
>>> - CMAKE_SYSTEM_NAME MATCHES "Windows")
>>> + if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
>>> target_link_libraries(${name} ${cmake_2_8_12_PUBLIC}
>>> -Wl,--start-group ${LLDB_USED_LIBS}
>>> -Wl,--end-group)
>>> else()
>>
>>
>>
>>
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>>
>>
>
>
> --
> Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140616/b253f66b/attachment.html>
More information about the lldb-commits
mailing list