mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Update build.sh
This commit is contained in:
parent
52f03d942e
commit
e7ffae89e9
@ -4,7 +4,7 @@ set -e
|
|||||||
#ccache -s # uncomment to display CCache statistics
|
#ccache -s # uncomment to display CCache statistics
|
||||||
mkdir -p /server/build_docker
|
mkdir -p /server/build_docker
|
||||||
cd /server/build_docker
|
cd /server/build_docker
|
||||||
cmake -G Ninja /server "-DCMAKE_C_COMPILER=$(command -v gcc-9)" "-DCMAKE_CXX_COMPILER=$(command -v g++-9)"
|
cmake -G Ninja /server "-DCMAKE_C_COMPILER=$(command -v clang-11)" "-DCMAKE_CXX_COMPILER=$(command -v clang++-11)"
|
||||||
|
|
||||||
# Set the number of build jobs to the half of number of virtual CPU cores (rounded up).
|
# Set the number of build jobs to the half of number of virtual CPU cores (rounded up).
|
||||||
# By default, ninja use all virtual CPU cores, that leads to very high memory consumption without much improvement in build time.
|
# By default, ninja use all virtual CPU cores, that leads to very high memory consumption without much improvement in build time.
|
||||||
|
Loading…
Reference in New Issue
Block a user