Skip to content

Commit 5cf7b92

Browse files
committed
cmake: fix thirdparty link issue
1 parent ee5159b commit 5cf7b92

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/unit-test-daily-on-device.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
mkdir build
2929
cd build
30-
cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DUSE_CN_MIRROR=yes -DCLANG_TIDY=on -DCLANG_TIDY_AS_ERROR=on
30+
cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCLANG_TIDY=on -DCLANG_TIDY_AS_ERROR=on
3131
3232
- name: Build
3333
working-directory: build

.github/workflows/unit-test-pull-requests-on-device.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
mkdir build
5555
cd build
56-
cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DUSE_CN_MIRROR=yes -DWITH_WEBUI=${{github.event.inputs.WithWebUI}} -DCLANG_TIDY=${{github.event.inputs.WithClangTidy}} -DCLANG_TIDY_AS_ERROR=on
56+
cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_WEBUI=${{github.event.inputs.WithWebUI}} -DCLANG_TIDY=${{github.event.inputs.WithClangTidy}} -DCLANG_TIDY_AS_ERROR=on
5757
5858
- name: Build
5959
working-directory: build

thirdparty/CMake/pre-download.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ if (NOT @USE_CN_MIRROR@)
3939
set(MODELBOX_WEBUI_DOWNLOAD_URL "https://github.com/modelbox-ai/modelbox-webui/archive/refs/tags/0.1.3.zip")
4040
set(EMOTION_DEMO_FILES_DOWNLOAD_URL "https://github.com/modelbox-ai/modelbox-binary/releases/download/BinaryArchive/emotion_demo_files.zip")
4141
else()
42-
set(GOOGLETEST_DOWNLOAD_URL "https://gitcode.net/mirrors/google/googletest/-/archive/release-1.11.0/googletest-release-1.11.0.zip")
42+
set(GOOGLETEST_DOWNLOAD_URL "https://ghproxy.com/github.com/google/googletest/archive/refs/tags/release-1.11.0.zip")
4343
set(HUAWEI_SECURE_C_DOWNLOAD_URL "https://gitee.com/openeuler/libboundscheck/repository/archive/master.zip")
4444
set(TINYLOG_DOWNLOAD_URL "https://ghproxy.com/github.com/pymumu/tinylog/archive/refs/tags/v1.8.zip")
45-
set(PYBIND11_DOWNLOAD_URL "https://gitcode.net/mirrors/pybind/pybind11/-/archive/v2.10.4/pybind11-v2.10.4.zip")
45+
set(PYBIND11_DOWNLOAD_URL "https://ghproxy.com/github.com/pybind/pybind11/archive/refs/tags/v2.10.4.zip")
4646
set(TOML11_DOWNLOAD_URL "https://ghproxy.com/github.com/ToruNiina/toml11/archive/refs/tags/v3.7.1.zip")
47-
set(NLOHMANN_DOWNLOAD_URL "https://gitcode.net/mirrors/nlohmann/json/-/archive/v3.11.2/json-v3.11.2.zip")
48-
set(CPP_HTTPLIB_DOWNLOAD_URL "https://gitcode.net/mirrors/yhirose/cpp-httplib/-/archive/v0.12.6/cpp-httplib-v0.12.6.zip")
47+
set(NLOHMANN_DOWNLOAD_URL "https://ghproxy.com/github.com/nlohmann/json/releases/download/v3.11.2/include.zip")
48+
set(CPP_HTTPLIB_DOWNLOAD_URL "https://ghproxy.com/github.com/yhirose/cpp-httplib/archive/refs/tags/v0.12.6.zip")
4949
set(APIGW_CPP_SDK_DOWNLOAD_URL "https://obs.cn-north-1.myhuaweicloud.com/apig-sdk/APIGW-cpp-sdk.zip")
5050
set(MODELBOX_WEBUI_DOWNLOAD_URL "https://gitee.com/modelbox/modelbox-webui/repository/archive/tags/0.1.3.zip")
5151
set(EMOTION_DEMO_FILES_DOWNLOAD_URL "https://gitee.com/modelbox/modelbox-binary/attach_files/1010735/download/emotion_demo_files.zip")

0 commit comments

Comments
 (0)