Add symlynks for lld, because gcc is not able to find it without 'ld.' prefix.

This commit is contained in:
alesapin 2020-02-07 23:59:51 +03:00
parent 7aa71bb1dd
commit bddbc956ec
2 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,9 @@ RUN apt-get update -y \
rename \ rename \
wget wget
RUN ln -s /usr/bin/lld-8 /usr/bin/ld.lld
RUN ln -s /usr/bin/lld-8 /usr/bin/ldd
ENV CC=clang-8 ENV CC=clang-8
ENV CXX=clang++-8 ENV CXX=clang++-8

View File

@ -88,6 +88,9 @@ RUN curl -O https://clickhouse-builds.s3.yandex.net/utils/dpkg-deb
RUN chmod +x dpkg-deb RUN chmod +x dpkg-deb
RUN cp dpkg-deb /usr/bin RUN cp dpkg-deb /usr/bin
RUN ln -s /usr/bin/lld-8 /usr/bin/ld.lld
RUN ln -s /usr/bin/lld-8 /usr/bin/ldd
COPY build.sh / COPY build.sh /
CMD ["/bin/bash", "/build.sh"] CMD ["/bin/bash", "/build.sh"]