[llvm] [Github] Add Zlib at build time to CI container (PR #123489)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 18 16:11:33 PST 2025


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/123489

This patch adds zlib at build time to the CI container. This is needed to make an lldb test pass that defaults to using the system lld if it is not explicitly enabled in LLVM_ENABLE_PROJECTS.

Fixes #123479 (by fixing the proximal cause).

>From 8a12f8863c71248687189c18bfe36aff5bf6d16e Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sun, 19 Jan 2025 00:05:05 +0000
Subject: [PATCH] [Github] Add Zlib at build time to CI container

This patch adds zlib at build time to the CI container. This is needed to make
an lldb test pass that defaults to using the system lld if it is not explicitly
enabled in LLVM_ENABLE_PROJECTS.

Fixes #123479 (by fixing the proximal cause).
---
 .github/workflows/containers/github-action-ci/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index 3757e603f8a102..b600d3b72d9547 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -13,7 +13,8 @@ RUN apt-get update && \
     ninja-build \
     python3 \
     git \
-    curl
+    curl \
+    zlib1g-dev
 
 RUN curl -O -L https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-$LLVM_VERSION.tar.gz && tar -xf llvmorg-$LLVM_VERSION.tar.gz
 



More information about the llvm-commits mailing list