From afbbf846759d0e04b933fa47bc585c81af9202f7 Mon Sep 17 00:00:00 2001 From: ZhangYu0123 <67053339+ZhangYu0123@users.noreply.github.com> Date: Mon, 17 Apr 2023 00:08:25 +0800 Subject: [PATCH] [chore](build) add apache-orc git submodule path (#18695) 1. Add apache-orc git submodule update path, not update all modules When sh build.sh, update all modules will fails serveral times because of unstable github network. It wastes many time. 2. Add gitignore for be/src/apache-orc/ to avoid mistake commits. --- .gitignore | 1 + build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 98432d0cbe..28d26ec7d3 100644 --- a/.gitignore +++ b/.gitignore @@ -83,6 +83,7 @@ be/src/gen_cpp/opcode be/tags be/test/olap/test_data/tablet_meta_test.hdr be/.devcontainer/ +be/src/apache-orc/ ## tools tools/ssb-tools/ssb-data/ diff --git a/build.sh b/build.sh index 8c4de60e34..e9701fcac0 100755 --- a/build.sh +++ b/build.sh @@ -251,7 +251,7 @@ if [[ ! -f "${DORIS_HOME}/be/src/apache-orc/README.md" ]]; then echo "apache-orc not exists, need to update submodules ..." set +e cd "${DORIS_HOME}" - git submodule update --init --recursive + git submodule update --init --recursive be/src/apache-orc exit_code=$? set -e if [[ "${exit_code}" -ne 0 ]]; then