summaryrefslogtreecommitdiff
path: root/lldb/bindings
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2023-01-24 19:46:26 -0800
committerJordan Rupprecht <rupprecht@google.com>2023-01-24 19:46:26 -0800
commit5ed6d99a8311e54762df3d40dfb1d12578aaa4f5 (patch)
treecc814729a58fd6af57162f3f86b10c4542b391d8 /lldb/bindings
parent5dd7c16c3dcfd3154a53ee59e0e092c1e0092197 (diff)
downloadllvm-5ed6d99a8311e54762df3d40dfb1d12578aaa4f5.tar.gz
[lldb] Remove legacy six module for py2->py3
LLDB only supports Python3 now, so the `six` shim for Python2 is no longer necessary. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D142140
Diffstat (limited to 'lldb/bindings')
-rw-r--r--lldb/bindings/python/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/bindings/python/CMakeLists.txt b/lldb/bindings/python/CMakeLists.txt
index 4f7941e6cff1..c631faf52ac3 100644
--- a/lldb/bindings/python/CMakeLists.txt
+++ b/lldb/bindings/python/CMakeLists.txt
@@ -60,13 +60,6 @@ function(finish_swig_python swig_target lldb_python_bindings_dir lldb_python_tar
DEPENDS ${lldb_python_bindings_dir}/lldb.py
COMMENT "Python script sym-linking LLDB Python API")
- if(NOT LLDB_USE_SYSTEM_SIX)
- add_custom_command(TARGET ${swig_target} POST_BUILD VERBATIM
- COMMAND ${CMAKE_COMMAND} -E copy
- "${LLDB_SOURCE_DIR}/third_party/Python/module/six/six.py"
- "${lldb_python_target_dir}/../six.py")
- endif()
-
add_custom_command(TARGET ${swig_target} POST_BUILD VERBATIM
COMMAND ${CMAKE_COMMAND} -E copy
"${lldb_python_bindings_dir}/lldb.py"