This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new b230b704d2 [Update](thirdparty) omit BUILD_TYPE for clucene, ignore
other build type except RelWithDebInfo (#16076)
b230b704d2 is described below
commit b230b704d23a8918c4b7f5d5ccf6da263fd80f59
Author: airborne12 <[email protected]>
AuthorDate: Fri Jan 20 09:10:58 2023 +0800
[Update](thirdparty) omit BUILD_TYPE for clucene, ignore other build type
except RelWithDebInfo (#16076)
omit BUILD_TYPE for clucene, ignore other build type except RelWithDebInfo
---
thirdparty/build-thirdparty.sh | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh
index 930c298e00..3acd6d2590 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -1558,10 +1558,6 @@ build_clucene() {
USE_AVX2="${USE_AVX2:-0}"
fi
- if [[ -z ${BUILD_TYPE} ]]; then
- BUILD_TYPE=Release
- fi
-
check_if_source_exist "${CLUCENE_SOURCE}"
cd "${TP_SOURCE_DIR}/${CLUCENE_SOURCE}"
@@ -1578,7 +1574,7 @@ build_clucene() {
-DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer ${warning_narrowing}" \
-DUSE_STAT64=0 \
-DUSE_AVX2="${USE_AVX2}" \
- -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_CONTRIBS_LIB=ON ..
${BUILD_SYSTEM} -j "${PARALLEL}"
${BUILD_SYSTEM} install
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]