[Lldb-commits] [PATCH] D22891: Remove a duplicated block in cmake.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 27 16:55:13 PDT 2016


sas created this revision.
sas added a reviewer: tfiala.
sas added a subscriber: lldb-commits.

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

https://reviews.llvm.org/D22891

Files:
  source/Host/CMakeLists.txt

Index: source/Host/CMakeLists.txt
===================================================================
--- source/Host/CMakeLists.txt
+++ source/Host/CMakeLists.txt
@@ -163,19 +163,6 @@
   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")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22891.65839.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160727/bc17f65f/attachment.bin>


More information about the lldb-commits mailing list