diff --git a/.github/workflows/containers/libc/Dockerfile b/.github/workflows/containers/libc/Dockerfile index 1367b89fab104..d2cb71435059a 100644 --- a/.github/workflows/containers/libc/Dockerfile +++ b/.github/workflows/containers/libc/Dockerfile @@ -51,9 +51,10 @@ RUN wget https://apt.llvm.org/llvm.sh && \ # testing CI for libc-based compiler-rt builtins. The package only symlinks # the tools into /usr/bin under versioned names (lit-23, FileCheck-23, ...), # so also symlink them under their canonical names. +# llvm-link is required to build bitcode library for GPU targets RUN apt-get install -y llvm-23-tools && \ - ln -s -t /usr/bin $(dpkg -L llvm-23-tools | grep '^/usr/lib/llvm-23/bin/') - + ln -s -t /usr/bin $(dpkg -L llvm-23-tools | grep '^/usr/lib/llvm-23/bin/') && \ + ln -s /usr/lib/llvm-23/bin/llvm-link /usr/bin/llvm-link # Install gmp and mpfr for cross compilation RUN wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz && \