Skip to content

Commit

Permalink
Merge #20
Browse files Browse the repository at this point in the history
20: Use mold in CI. r=vext01 a=ltratt



Co-authored-by: Laurence Tratt <[email protected]>
  • Loading branch information
bors[bot] and ltratt authored Jul 20, 2023
2 parents 5b96144 + 33e4948 commit b79303d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildbot_dockerfile_debian
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ ARG CI_UID
RUN useradd -m -u ${CI_UID} ci
RUN apt-get update && \
apt-get -y install clang-15 make curl procps file git cmake python3 \
libtinfo-dev libzip-dev ninja-build
libtinfo-dev libzip-dev mold ninja-build
WORKDIR /ci
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-15 999
RUN update-alternatives --set cc /usr/bin/clang-15
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-15 999
RUN update-alternatives --set c++ /usr/bin/clang++-15
RUN update-alternatives --install /usr/bin/ld ld /usr/bin/mold 999
RUN update-alternatives --set ld /usr/bin/mold
RUN ln -sf /usr/bin/clang-15 /usr/bin/clang
RUN ln -sf /usr/bin/clang++-15 /usr/bin/clang++
RUN chown ${CI_UID}:${CI_UID} .
Expand Down

0 comments on commit b79303d

Please sign in to comment.