[Lldb-commits] [lldb] [lldb] Check for Python 'packaging' module at configuration time (PR #111747)

Stefan Gränitz via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 9 12:15:58 PDT 2024


https://github.com/weliveindetail created https://github.com/llvm/llvm-project/pull/111747

This module is used in various helper scripts since https://github.com/llvm/llvm-project/pull/93712

>From 6abfaf205142ffeaec76e72fcaf33bac72d2c51d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= <stefan.graenitz at gmail.com>
Date: Wed, 9 Oct 2024 19:09:17 +0200
Subject: [PATCH] [lldb] Check for Python 'packaging' module at configuration
 time

This module is used in various helper scripts since https://github.com/llvm/llvm-project/pull/93712
---
 lldb/test/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt
index 5ac474736eb63d..ceec782f19f4c7 100644
--- a/lldb/test/CMakeLists.txt
+++ b/lldb/test/CMakeLists.txt
@@ -12,7 +12,7 @@ endif()
 if(LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS)
   message(STATUS "Enforcing strict test requirements for LLDB")
   # Lit uses psutil to do per-test timeouts.
-  set(useful_python_modules psutil)
+  set(useful_python_modules psutil packaging)
 
   if(NOT WIN32)
     # We no longer vendor pexpect and it is not used on Windows.



More information about the lldb-commits mailing list