Skip to content

Commit eca1d3a

Browse files
Fix missing error libgccjit in CI
1 parent 8ddd92c commit eca1d3a

File tree

1 file changed

+4
-0
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-llvm-15

1 file changed

+4
-0
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2424
xz-utils \
2525
nodejs \
2626
mingw-w64 \
27+
libgccjit-12-dev \
2728
&& rm -rf /var/lib/apt/lists/*
2829

2930
# Install powershell (universal package) so we can test x.ps1 on Linux
@@ -34,6 +35,9 @@ RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/
3435
COPY scripts/sccache.sh /scripts/
3536
RUN sh /scripts/sccache.sh
3637

38+
# Make `libgccjit.so` accessible.
39+
RUN ln -s /usr/lib/gcc/x86_64-linux-gnu/12/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so
40+
3741
# We are disabling CI LLVM since this builder is intentionally using a host
3842
# LLVM, rather than the typical src/llvm-project LLVM.
3943
ENV NO_DOWNLOAD_CI_LLVM 1

0 commit comments

Comments
 (0)