[Lldb-commits] [lldb] r252179 - Do not build any of the simulator material on non-Darwin

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 5 10:58:29 PST 2015


Renaming it to .mm would fix it, but I don't know if that extension has
special implications on OSX platforms.

Another fix would be moving the platform-specific files into a subfolder
and then adding them dfrom the subfolder.  That way CMake won't see them in
the current directory.

On Thu, Nov 5, 2015 at 10:37 AM Tamas Berghammer via lldb-commits <
lldb-commits at lists.llvm.org> wrote:

> Hi Enrico,
>
> Skipping files this way isn't working because of the way the LLVM build
> system works (see:
> http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/8151/steps/cmake%20local/logs/stdio
> )
>
> Do you have any suggestion for a quick fix better then surrounding the
> affected files with an "#ifdef __APPLE__"?
>
> Thanks,
> Tamas
>
> On Thu, Nov 5, 2015 at 10:25 AM Enrico Granata via lldb-commits <
> lldb-commits at lists.llvm.org> wrote:
>
>> Author: enrico
>> Date: Thu Nov  5 12:23:10 2015
>> New Revision: 252179
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=252179&view=rev
>> Log:
>> Do not build any of the simulator material on non-Darwin
>>
>> Modified:
>>     lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt
>>
>> Modified: lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt
>> URL:
>> http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt?rev=252179&r1=252178&r2=252179&view=diff
>>
>> ==============================================================================
>> --- lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt (original)
>> +++ lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt Thu Nov  5
>> 12:23:10 2015
>> @@ -1,15 +1,15 @@
>>  list(APPEND PLUGIN_PLATFORM_MACOSX_SOURCES
>> -  PlatformAppleSimulator.cpp
>>    PlatformDarwin.cpp
>>    PlatformDarwinKernel.cpp
>> -  PlatformiOSSimulator.cpp
>>    PlatformMacOSX.cpp
>>    PlatformRemoteiOS.cpp
>>    )
>>
>>  if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
>>  list(APPEND PLUGIN_PLATFORM_MACOSX_SOURCES
>> +  PlatformAppleSimulator.cpp
>>    PlatformiOSSimulatorCoreSimulatorSupport.mm
>> +  PlatformiOSSimulator.cpp
>>    )
>>  endif()
>>
>>
>>
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151105/eb33b6ce/attachment.html>


More information about the lldb-commits mailing list