Skip to content

Commit d36445a

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

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-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

src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1515
sudo \
1616
xz-utils \
1717
tidy \
18+
libgccjit-12-dev \
1819
\
1920
# Install dependencies for chromium browser
2021
gconf-service \
@@ -61,6 +62,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
6162
COPY scripts/sccache.sh /scripts/
6263
RUN sh /scripts/sccache.sh
6364

65+
# Make `libgccjit.so` accessible.
66+
RUN ln -s /usr/lib/gcc/x86_64-linux-gnu/12/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so
67+
6468
COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
6569

6670
RUN curl -sL https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-x64.tar.xz | tar -xJ

0 commit comments

Comments
 (0)