This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-2.0-alpha
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 982e4374704d95799ebca8baa50407084c054afe
Author: ZhangYu0123 <[email protected]>
AuthorDate: Mon Apr 17 00:08:25 2023 +0800

    [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 ff1ab08882..f4532ce110 100644
--- a/.gitignore
+++ b/.gitignore
@@ -84,6 +84,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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to