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

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 5 10:37:23 PST 2015


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151105/eeaff96f/attachment.html>


More information about the lldb-commits mailing list