diff --git a/thirdparty/thirdparty/download_opensource.sh b/thirdparty/thirdparty/download_opensource.sh index b397b2dd8652d7eae21af2c12891ddd2d75cf2ad..a7384c5258438979077110c4848f99abbcaa027f 100644 --- a/thirdparty/thirdparty/download_opensource.sh +++ b/thirdparty/thirdparty/download_opensource.sh @@ -71,7 +71,7 @@ function checksum_and_decompress() { *.tar.gz) echo "use tar to decompress" mkdir "${savepath}/${name}" - tar -xf ${filename} -C "$name" --strip-components=1 && rm ${filename} + tar -zxvf ${filename} -C "$name" --strip-components=1 && rm ${filename} ;; *.zip) echo "use unzip to decompress" @@ -154,15 +154,9 @@ download_a_repo() { pids=() while IFS=',' read -r name tag module repo sha256 usage; do # Start background process for each task. - download_a_repo "$name" "$tag" "$module" "$repo" "$sha256" "$usage" & + download_a_repo "$name" "$tag" "$module" "$repo" "$sha256" "$usage" pid=$! - pids+=("$pid") echo "Task PID ${pid}: download repo $repo" done < "${OPENSOURCE}" -# Wait all task and handle errors -for pid in "${pids[@]}"; do - wait "${pid}" || echo "Task with PID ${pid} failed" -done - echo "All downloads completed!" diff --git a/thirdparty/thirdparty/openSource.txt b/thirdparty/thirdparty/openSource.txt index 2b086a0cc3af787c6a893ae0073ef16acbb17794..65243250f7f9be825bc42364c03fc595c2c4fb3e 100644 --- a/thirdparty/thirdparty/openSource.txt +++ b/thirdparty/thirdparty/openSource.txt @@ -1,5 +1,4 @@ abseil-cpp,20240722.0,functionsystem,https://gitee.com/mirrors/abseil-cpp/repository/archive/20240722.0.zip,104dead3edd7b67ddeb70c37578245130d6118efad5dad4b618d7e26a5331f55, -boost,1.82.0,runtime,https://sourceforge.net/projects/boost/files/boost/1.82.0/boost_1_82_0.tar.gz,66a469b6e608a51f8347236f4912e27dc5c60c60d7d53ae9bfe4683316c6f04c c-ares,1.19.1,functionsystem,https://gitee.com/mirrors/c-ares/repository/archive/cares-1_19_1.zip,edcaac184aff0e6b6eb7b9ede7a55f36c7fc04085d67fecff2434779155dd8ce, etcd,v3.5.11,functionsystem,https://gitee.com/mirrors/etcd/repository/archive/v3.5.11.zip,7af745a2bf75c7b04f9b168b85deb35fb73d30d60f751046564b54dbd483277a, gogo-protobuf,v1.3.2,functionsystem,https://gitee.com/mirrors_gogo/protobuf/repository/archive/v1.3.2.zip,11e863712289bf1e6ba86239b5b896704bb63815bee8710e5032daf63fd9efe7,