Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lldb] Check for Python 'packaging' module at configuration time #111747

Merged

Conversation

weliveindetail
Copy link
Member

This module is used in various helper scripts since #93712

This module is used in various helper scripts since llvm#93712
@llvmbot
Copy link
Member

llvmbot commented Oct 9, 2024

@llvm/pr-subscribers-lldb

Author: Stefan Gränitz (weliveindetail)

Changes

This module is used in various helper scripts since #93712


Full diff: https://github.com/llvm/llvm-project/pull/111747.diff

1 Files Affected:

  • (modified) lldb/test/CMakeLists.txt (+1-1)
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.

Copy link
Member

@medismailben medismailben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM!

Copy link
Member

@JDevlieghere JDevlieghere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could have sworn I added it here, but apparently not. Thanks!

@weliveindetail weliveindetail merged commit 7890919 into llvm:main Oct 10, 2024
9 checks passed
@weliveindetail
Copy link
Member Author

No worries, we have it now. Thanks for the quick review!

@weliveindetail weliveindetail deleted the lldb-check-py-module-packaging branch October 10, 2024 09:38
weliveindetail added a commit to weliveindetail/llvm-project that referenced this pull request Oct 10, 2024
DanielCChen pushed a commit to DanielCChen/llvm-project that referenced this pull request Oct 16, 2024
weliveindetail added a commit to weliveindetail/llvm-project that referenced this pull request Oct 16, 2024
weliveindetail added a commit to weliveindetail/llvm-project that referenced this pull request Nov 5, 2024
weliveindetail added a commit to weliveindetail/llvm-project that referenced this pull request Nov 6, 2024
weliveindetail added a commit to weliveindetail/llvm-project that referenced this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants