Skip to content

Commit

Permalink
[chore](build) add apache-orc git submodule path (apache#18695)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ZhangYu0123 authored Apr 16, 2023
1 parent ddbff2a commit afbbf84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afbbf84

Please sign in to comment.