[llvm] [Github] Add some additional system packages (PR #119988)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 14 14:36:44 PST 2024
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/119988
This patch adds some additional system packages to the CI container. These are necessary for use in the new premerge workflows. The size increase is not super small, but should be manageable with the size increase being about 100MB.
>From 9a23855b31656460497b557cbf3a8befc6b2b655 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sat, 14 Dec 2024 22:34:55 +0000
Subject: [PATCH] [Github] Add some additional system packages
This patch adds some additional system packages to the CI container. These
are necessary for use in the new premerge workflows. The size increase is
not super small, but should be manageable with the size increase being about
100MB.
---
.../workflows/containers/github-action-ci/Dockerfile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index da11803cad1042..67bc5b2b0909e7 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -41,13 +41,13 @@ RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C .
FROM base
COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
-
+
# Need to install curl for hendrikmuhs/ccache-action
# Need nodejs for some of the GitHub actions.
# Need perl-modules for clang analyzer tests.
# Need git for SPIRV-Tools tests.
RUN apt-get update && \
- apt-get install -y \
+ DEBIAN_FRONTEND=noninteractive apt-get install -y \
binutils \
cmake \
curl \
@@ -56,7 +56,11 @@ RUN apt-get update && \
ninja-build \
nodejs \
perl-modules \
- python3-psutil
+ python3-psutil \
+ python3-pip \
+ ccache \
+ file \
+ tzdata
ENV LLVM_SYSROOT=$LLVM_SYSROOT
ENV PATH=${LLVM_SYSROOT}/bin:${PATH}
More information about the llvm-commits
mailing list