From d057a557b8fed406752635568bdf45b808adc28c Mon Sep 17 00:00:00 2001 From: JackyWoo Date: Mon, 24 Jun 2024 11:28:07 +0800 Subject: [PATCH] Update build type to RelWithDebInfo in build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 2c773d56f3..ea6d39f4eb 100755 --- a/build.sh +++ b/build.sh @@ -34,7 +34,7 @@ function build() if [ -n "$1" ] && [ "$1" == "clickhouse" ]; then COMPATIBLE_MODE_ZOOKEEPER="OFF" fi - cmake .. -DCMAKE_BUILD_TYPE=Release -DCOMPATIBLE_MODE_ZOOKEEPER=$COMPATIBLE_MODE_ZOOKEEPER + cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCOMPATIBLE_MODE_ZOOKEEPER=$COMPATIBLE_MODE_ZOOKEEPER PARALLEL="$(($(nproc) / 4 + 1))" make -j $PARALLEL