Selaa lähdekoodia

Add support for mold in build image

master
Ray Burgemeestre 1 vuosi sitten
vanhempi
commit
c3cea36238
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. +3
    -0
      Dockerfile-ubuntu2204

+ 3
- 0
Dockerfile-ubuntu2204 Näytä tiedosto

@@ -51,6 +51,9 @@ RUN cp -prv /usr/lib/llvm-15/lib/libc++abi.so.1.0 /usr/lib/llvm-15/lib/libc++abi
# EDIT: no longer needed!
# RUN cp -prv /usr/lib/llvm-14/lib/libunwind.so.1.0 /usr/lib/llvm-14/lib/libunwind.so

# Install mold (even faster than gold) (linker)
RUN apt install -y mold

COPY switch-to-latest-clang /usr/local/bin/switch-to-latest-clang

RUN chmod +x /usr/local/bin/switch-to-latest-clang

Loading…
Peruuta
Tallenna