mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Build gcc with lld linker
This commit is contained in:
parent
2cfe26c3d3
commit
49c0642c49
@ -43,9 +43,8 @@ RUN apt-get update -y \
|
||||
rename \
|
||||
wget
|
||||
|
||||
# This symlink required by gcc to find lld compiler but currently we have
|
||||
# problems with query profiler when gcc use lld as linker
|
||||
# RUN ln -s /usr/bin/lld-8 /usr/bin/ld.lld
|
||||
# This symlink required by gcc to find lld compiler
|
||||
RUN ln -s /usr/bin/lld-8 /usr/bin/ld.lld
|
||||
|
||||
ENV CC=clang-8
|
||||
ENV CXX=clang++-8
|
||||
|
@ -65,8 +65,6 @@ RUN apt-get --allow-unauthenticated update -y \
|
||||
pigz \
|
||||
moreutils
|
||||
|
||||
|
||||
|
||||
# Special dpkg-deb (https://github.com/ClickHouse-Extras/dpkg) version which is able
|
||||
# to compress files using pigz (https://zlib.net/pigz/) instead of gzip.
|
||||
# Significantly increase deb packaging speed and compatible with old systems
|
||||
@ -74,9 +72,8 @@ RUN curl -O https://clickhouse-builds.s3.yandex.net/utils/dpkg-deb
|
||||
RUN chmod +x dpkg-deb
|
||||
RUN cp dpkg-deb /usr/bin
|
||||
|
||||
# This symlink required by gcc to find lld compiler but currently we have
|
||||
# problems with query profiler when gcc use lld as linker
|
||||
# RUN ln -s /usr/bin/lld-8 /usr/bin/ld.lld
|
||||
# This symlink required by gcc to find lld compiler
|
||||
RUN ln -s /usr/bin/lld-8 /usr/bin/ld.lld
|
||||
|
||||
COPY build.sh /
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user