jakoch/cpp-devbox

add mold linker

jakoch opened this issue · 1 comments

jakoch commented

add https://github.com/rui314/mold

RUN cd /opt && \
    git clone https://github.com/rui314/mold.git && \
    cd mold && \
    git checkout v2.31.0 && \
    ./install-build-deps.sh && \
    mkdir build && cd build && \
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ .. && \
    cmake --build . -j $(nproc) && \
    cmake --install .
jakoch commented