[compile](submodule) move submodule update to BE compile (#26109)
orc and clucene is only used by BE, thus move the update to BE compile part
This commit is contained in:
5
build.sh
5
build.sh
@ -307,9 +307,6 @@ update_submodule() {
|
||||
fi
|
||||
}
|
||||
|
||||
update_submodule "be/src/apache-orc" "apache-orc" "https://github.com/apache/doris-thirdparty/archive/refs/heads/orc.tar.gz"
|
||||
update_submodule "be/src/clucene" "clucene" "https://github.com/apache/doris-thirdparty/archive/refs/heads/clucene.tar.gz"
|
||||
|
||||
if [[ "${CLEAN}" -eq 1 && "${BUILD_BE}" -eq 0 && "${BUILD_FE}" -eq 0 && "${BUILD_SPARK_DPP}" -eq 0 ]]; then
|
||||
clean_gensrc
|
||||
clean_be
|
||||
@ -485,6 +482,8 @@ FE_MODULES="$(
|
||||
|
||||
# Clean and build Backend
|
||||
if [[ "${BUILD_BE}" -eq 1 ]]; then
|
||||
update_submodule "be/src/apache-orc" "apache-orc" "https://github.com/apache/doris-thirdparty/archive/refs/heads/orc.tar.gz"
|
||||
update_submodule "be/src/clucene" "clucene" "https://github.com/apache/doris-thirdparty/archive/refs/heads/clucene.tar.gz"
|
||||
if [[ -e "${DORIS_HOME}/gensrc/build/gen_cpp/version.h" ]]; then
|
||||
rm -f "${DORIS_HOME}/gensrc/build/gen_cpp/version.h"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user