[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.
This commit is contained in:
ZhangYu0123
2023-04-17 00:08:25 +08:00
committed by GitHub
parent ddbff2aa39
commit afbbf84675
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -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/

View File

@ -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