Browse Source

Add support for mold in build image

master
Ray Burgemeestre 1 year ago
parent
commit
c3cea36238
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Dockerfile-ubuntu2204

+ 3
- 0
Dockerfile-ubuntu2204 View File

# EDIT: no longer needed! # EDIT: no longer needed!
# RUN cp -prv /usr/lib/llvm-14/lib/libunwind.so.1.0 /usr/lib/llvm-14/lib/libunwind.so # 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 COPY switch-to-latest-clang /usr/local/bin/switch-to-latest-clang


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

Loading…
Cancel
Save