[Lldb-commits] [lldb] r277060 - Remove a duplicated block in cmake.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 28 15:11:54 PDT 2016


Author: sas
Date: Thu Jul 28 17:11:54 2016
New Revision: 277060

URL: http://llvm.org/viewvc/llvm-project?rev=277060&view=rev
Log:
Remove a duplicated block in cmake.

Summary:
This is supposed to find the python lib dir and seems like it's just
been copied twice by mistake.

Reviewers: tfiala

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D22891

Modified:
    lldb/trunk/source/Host/CMakeLists.txt

Modified: lldb/trunk/source/Host/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/CMakeLists.txt?rev=277060&r1=277059&r2=277060&view=diff
==============================================================================
--- lldb/trunk/source/Host/CMakeLists.txt (original)
+++ lldb/trunk/source/Host/CMakeLists.txt Thu Jul 28 17:11:54 2016
@@ -159,19 +159,6 @@ if (${get_python_libdir})
   endif()
 endif()
 
-if (${get_python_libdir})
-  # Call a python script to gather the arch-specific libdir for
-  # modules like the lldb module.
-  execute_process(
-    COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/get_relative_lib_dir.py
-    RESULT_VARIABLE get_libdir_status
-    OUTPUT_VARIABLE relative_libdir
-    )
-  if (get_libdir_status EQUAL 0)
-    add_definitions(-DLLDB_PYTHON_RELATIVE_LIBDIR="${relative_libdir}")
-  endif()
-endif()
-
 add_lldb_library(lldbHost ${HOST_SOURCES})
 
 if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")




More information about the lldb-commits mailing list