Skip to content

Commit 4f0bb6b

Browse files
authored
Merge pull request #14607 from ClickHouse/lower-number-of-threads-in-binary-build
Lower number of threads in binary build
2 parents b030cb6 + cc2b401 commit 4f0bb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/packager/binary/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ccache --zero-stats ||:
1818
ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/lib/libOpenCL.so ||:
1919
rm -f CMakeCache.txt
2020
cmake --debug-trycompile --verbose=1 -DCMAKE_VERBOSE_MAKEFILE=1 -LA -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSANITIZE=$SANITIZER $CMAKE_FLAGS ..
21-
ninja $NINJA_FLAGS clickhouse-bundle
21+
ninja -j $(($(nproc) / 2)) $NINJA_FLAGS clickhouse-bundle
2222
mv ./programs/clickhouse* /output
2323
mv ./src/unit_tests_dbms /output
2424
find . -name '*.so' -print -exec mv '{}' /output \;

0 commit comments

Comments
 (0)