mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
CLICKHOUSE-4056: Fix build params
This commit is contained in:
parent
1d7ef9133e
commit
935efe81b7
@ -7,6 +7,7 @@ RUN apt-get update -y \
|
||||
cmake \
|
||||
ccache \
|
||||
distcc \
|
||||
distcc-pump \
|
||||
curl \
|
||||
gcc-7 \
|
||||
g++-7 \
|
||||
|
@ -7,6 +7,7 @@ RUN apt-get update -y \
|
||||
fakeroot \
|
||||
ccache \
|
||||
distcc \
|
||||
distcc-pump \
|
||||
cmake \
|
||||
curl \
|
||||
gcc-7 \
|
||||
|
@ -70,7 +70,7 @@ def parse_env_variables(build_type, compiler, sanitizer, package_type, cache, di
|
||||
result.append("CCACHE_PREFIX={}".format(cache))
|
||||
|
||||
if distcc_hosts:
|
||||
hosts_with_params = ["{}/24,lz4".format(host) for host in distcc_hosts] + ["localhost/`nproc`"]
|
||||
hosts_with_params = ["{}/24,lzo".format(host) for host in distcc_hosts] + ["localhost/`nproc`"]
|
||||
result.append('DISTCC_HOSTS="{}"'.format(" ".join(hosts_with_params)))
|
||||
elif cache == "distcc":
|
||||
result.append('DISTCC_HOSTS="{}"'.format("localhost/`nproc`"))
|
||||
|
Loading…
Reference in New Issue
Block a user