This is an automated email from the ASF dual-hosted git repository.
changchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 9874d893dc [CH][CI] Parallel download clickhouse submodule (#8790)
9874d893dc is described below
commit 9874d893dcc607c9ef65bc64d126d37d6cfc8e61
Author: Wenzheng Liu <[email protected]>
AuthorDate: Fri Feb 21 10:57:59 2025 +0800
[CH][CI] Parallel download clickhouse submodule (#8790)
* [CH][CI] Parallel download clickhouse submodule
* Update CMakeLists.txt
---
cpp-ch/CMakeLists.txt | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/cpp-ch/CMakeLists.txt b/cpp-ch/CMakeLists.txt
index 1b23fa38d7..c2f653b9f3 100644
--- a/cpp-ch/CMakeLists.txt
+++ b/cpp-ch/CMakeLists.txt
@@ -40,8 +40,9 @@ if("${CH_SOURCE_DIR}" STREQUAL
"${CMAKE_SOURCE_DIR}/ClickHouse")
COMMAND git reset --hard ${CH_COMMIT}
WORKING_DIRECTORY ${CH_SOURCE_DIR} COMMAND_ERROR_IS_FATAL ANY)
execute_process(
- COMMAND git submodule update --init --force --depth 1
- WORKING_DIRECTORY ${CH_SOURCE_DIR} COMMAND_ERROR_IS_FATAL ANY)
+ COMMAND git submodule update --init --recursive --force --depth 1 --jobs
+ 32 --single-branch WORKING_DIRECTORY ${CH_SOURCE_DIR}
+ COMMAND_ERROR_IS_FATAL ANY)
else()
execute_process(
COMMAND git fetch origin ${CH_BRANCH} --depth 3
@@ -53,8 +54,9 @@ if("${CH_SOURCE_DIR}" STREQUAL
"${CMAKE_SOURCE_DIR}/ClickHouse")
COMMAND git reset --hard ${CH_COMMIT}
WORKING_DIRECTORY ${CH_SOURCE_DIR} COMMAND_ERROR_IS_FATAL ANY)
execute_process(
- COMMAND git submodule update --init --recursive --force --depth 1
- WORKING_DIRECTORY ${CH_SOURCE_DIR} COMMAND_ERROR_IS_FATAL ANY)
+ COMMAND git submodule update --init --recursive --force --depth 1 --jobs
+ 32 --single-branch WORKING_DIRECTORY ${CH_SOURCE_DIR}
+ COMMAND_ERROR_IS_FATAL ANY)
endif()
else()
if(NOT clickhouse_files)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]