[llvm] [GitHub] Install libedit, libxml2 and liblzma to be used in Linux LLDB builds (PR #209129)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 03:06:57 PDT 2026


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/209129

In #188049 we missed some test failures because GitHub CI does not have libxml2 installed. I checked the logs and found a couple of other things missing.

In this change I'm adding to the Linux container:
* libedit
* libxml2
* liblzma

I am not adding ncurses because this would enable text user interface tests that are often unstable. They do run post-commit, and don't change that often anyway.

I am not adding Lua or TreeSitter because they are more obscure and are tested somewhere post-commit (in Green Dragon I think).

>From 152b7a8105b06e20910957ee8d21b28e1c8bf30f Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at arm.com>
Date: Mon, 13 Jul 2026 09:56:48 +0000
Subject: [PATCH] [GitHub] Install libedit, libxml2 and liblzma to be used in
 Linux LLDB builds

In #188049 we missed some test failures because GitHub CI does
not have libxml2 installed. I checked the logs and found a couple
of other things missing.

In this change I'm adding to the Linux container:
* libedit
* libxml2
* liblzma

I am not adding ncurses because this would enable text user
interface tests that are often unstable. They do run post-commit,
and don't change that often anyway.

I am not adding Lua or TreeSitter because they are more
obscure and are tested somewhere post-commit (in Green
Dragon I think).
---
 .github/workflows/containers/github-action-ci/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index e19883fbcea45..dc6ebd4d87893 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -46,13 +46,17 @@ COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
 # Need perl-modules for clang analyzer tests.
 # Need git for SPIRV-Tools tests.
 # Need binutils-dev instead of binutils to build the linker LTO plugin.
+# Need libedit, libxml2 and lzma for LLDB.
 RUN apt-get update && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y \
     binutils-dev \
     cmake \
     curl \
     git \
+    libedit-dev \
+    liblzma-dev \
     libstdc++-11-dev \
+    libxml2-dev \
     ninja-build \
     nodejs \
     perl-modules \



More information about the llvm-commits mailing list