diff --git a/tools/download_dependency.sh b/tools/download_dependency.sh index 71044b36b96ea83e6ed335f93634e1d6b14999c8..0daff57025b767d2e449bd10326124d1885b8f59 100644 --- a/tools/download_dependency.sh +++ b/tools/download_dependency.sh @@ -37,7 +37,9 @@ YR_METRICS_BIN_DIR="${RUNTIME_SRC_DIR}/../metrics" THIRD_PARTY_DIR="${RUNTIME_SRC_DIR}/../thirdparty/" MODULES="runtime" bash -x ${BASE_DIR}/download_opensource.sh -M $MODULES -T $THIRD_PARTY_DIR - +RUNTIME_THIRD_PARTY_CACHE=${RUNTIME_THIRD_PARTY_CACHE:-"https://build-logs.openeuler.openatom.cn:38080/temp-archived/openeuler/openYuanrong/runtime_deps/"} +DATA_SYSTEM_CACHE=${DATA_SYSTEM_CACHE:-"https://build-logs.openeuler.openatom.cn:38080/temp-archived/openeuler/openYuanrong/yr_cache/$(uname -m)/yr-datasystem-v0.5.0.tar.gz"} +FUNCTION_SYSTEM_CACHE=${FUNCTION_SYSTEM_CACHE:-"https://build-logs.openeuler.openatom.cn:38080/temp-archived/openeuler/openYuanrong/yr_cache/$(uname -m)/yr-functionsystem-v0.5.0.tar.gz"} function check_datasystem() { # check whether datasystem exist if [ ! -d "${YR_DATASYSTEM_BIN_DIR}"/datasystem/output/sdk/cpp/include ]; then diff --git a/tools/download_opensource.sh b/tools/download_opensource.sh index a8cb80db6a9b02938847467b826ed0dc20bac9a8..44a03e24845e7e3e8298facb9c5a6a391fe599bc 100644 --- a/tools/download_opensource.sh +++ b/tools/download_opensource.sh @@ -22,7 +22,7 @@ MODULES="all" DOWNLOAD_TEST_THIRDPARTY="ON" LOCAL_OS=$(head -1 /etc/os-release | tail -1 | awk -F "\"" '{print $2}')_$(uname -m) - +THIRD_PARTY_CACHE=${THIRD_PARTY_CACHE:-"https://build-logs.openeuler.openatom.cn:38080/temp-archived/openeuler/openYuanrong/deps/"} echo -e "local os is $LOCAL_OS"