[llvm] [CI] install packaging before running lldb tests on Windows (PR #201112)

Charles Zablit via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 06:07:36 PDT 2026


https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/201112

https://ci-external.swift.org/job/lldb-windows/job/main/ is failing because lldb API tests require the `packaging` module.

This patch installs it before running the `check-lldb` target.

>From 5fd59b9b55b28053f14a54cc8e5534731c7ba797 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Tue, 2 Jun 2026 14:06:24 +0100
Subject: [PATCH] [CI] install packaging before running lldb tests on Windows

---
 .ci/green-dragon/lldb-windows.groovy | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.ci/green-dragon/lldb-windows.groovy b/.ci/green-dragon/lldb-windows.groovy
index 331506dcc68a0..48224479f1d28 100644
--- a/.ci/green-dragon/lldb-windows.groovy
+++ b/.ci/green-dragon/lldb-windows.groovy
@@ -51,6 +51,8 @@ pipeline {
                         writeFile file: 'build.bat', text: '''@echo off
 call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" || exit /b 1
 
+"C:\\Program Files\\Python313\\python.exe" -m pip install packaging || exit /b 1
+
 cmake -G Ninja ^
     -S llvm ^
     -B ..\\llvm-build\\ ^



More information about the llvm-commits mailing list