[Lldb-commits] [lldb] r276814 - Fix LLDBConfig.cmake to enable python enabled build for all 64 bit lldb targets

Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 26 14:43:02 PDT 2016


Author: omjavaid
Date: Tue Jul 26 16:43:02 2016
New Revision: 276814

URL: http://llvm.org/viewvc/llvm-project?rev=276814&view=rev
Log:
Fix LLDBConfig.cmake to enable python enabled build for all 64 bit lldb targets

Differential revision: https://reviews.llvm.org/D22771


Modified:
    lldb/trunk/cmake/modules/LLDBConfig.cmake

Modified: lldb/trunk/cmake/modules/LLDBConfig.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBConfig.cmake?rev=276814&r1=276813&r2=276814&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake Tue Jul 26 16:43:02 2016
@@ -167,12 +167,6 @@ function(find_python_libs_windows)
 endfunction(find_python_libs_windows)
 
 if (NOT LLDB_DISABLE_PYTHON)
-  if(UNIX)
-    # This is necessary for crosscompile on Ubuntu 14.04 64bit. Need a proper fix.
-    if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-      set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
-    endif()
-  endif()
 
   if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
     find_python_libs_windows()




More information about the lldb-commits mailing list