CLICKHOUSE-4056: Fix build params

This commit is contained in:
alesapin 2018-10-18 19:49:00 +03:00
parent 1d7ef9133e
commit 935efe81b7
3 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@ RUN apt-get update -y \
cmake \
ccache \
distcc \
distcc-pump \
curl \
gcc-7 \
g++-7 \

View File

@ -7,6 +7,7 @@ RUN apt-get update -y \
fakeroot \
ccache \
distcc \
distcc-pump \
cmake \
curl \
gcc-7 \

View File

@ -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`"))