[llvm] [CI] Install binutils-dev in pre-merge container (PR #184608)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 06:20:08 PST 2026


https://github.com/nikic updated https://github.com/llvm/llvm-project/pull/184608

>From c4a158e7ac57ba69f27731d33e94700bd7664f48 Mon Sep 17 00:00:00 2001
From: Nikita Popov <npopov at redhat.com>
Date: Wed, 4 Mar 2026 14:29:54 +0100
Subject: [PATCH] [CI] Install binutils-dev in pre-merge container

This is to get the plugin-api.h file, to allow running tests for
the gold plugin.
---
 .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 6d3f29898fdb2..20696949c8659 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -45,9 +45,10 @@ COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
 # Need nodejs for some of the GitHub actions.
 # 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.
 RUN apt-get update && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y \
-    binutils \
+    binutils-dev \
     cmake \
     curl \
     git \



More information about the llvm-commits mailing list