From 4c00ac78b9aef11bca14d911614a32f2c0be04c2 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 18 Jan 2024 16:34:22 +0800 Subject: [PATCH] Download dependencies using GitHub mirrow from China instead of Huggingface. (#297) --- cmake/kaldi-native-fbank.cmake | 2 +- cmake/ncnn.cmake | 2 +- cmake/pybind11.cmake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/kaldi-native-fbank.cmake b/cmake/kaldi-native-fbank.cmake index 0c46fbc7..a0d2465b 100644 --- a/cmake/kaldi-native-fbank.cmake +++ b/cmake/kaldi-native-fbank.cmake @@ -3,7 +3,7 @@ function(download_kaldi_native_fbank) # Please also change ../pack-for-embedded-systems.sh set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz") - set(kaldi_native_fbank_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps /resolve/main/kaldi-native-fbank-1.18.6.tar.gz") + set(kaldi_native_fbank_URL2 "https://hub.nuaa.cf/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz") set(kaldi_native_fbank_HASH "SHA256=6202a00cd06ba8ff89beb7b6f85cda34e073e94f25fc29e37c519bff0706bf19") # If you don't have access to the Internet, please download it to your diff --git a/cmake/ncnn.cmake b/cmake/ncnn.cmake index 7d20256e..8cfafb73 100644 --- a/cmake/ncnn.cmake +++ b/cmake/ncnn.cmake @@ -7,7 +7,7 @@ function(download_ncnn) # Please also change ../pack-for-embedded-systems.sh set(ncnn_URL "https://github.com/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz") - set(ncnn_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps/resolve/main/ncnn-sherpa-1.1.tar.gz") + set(ncnn_URL2 "https://hub.nuaa.cf/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz") set(ncnn_HASH "SHA256=254aaedf8ad3e6baaa63bcd5d23e9673e3973d7cb2154c18e5c7743d45b4e160") # If you don't have access to the Internet, please download it to your diff --git a/cmake/pybind11.cmake b/cmake/pybind11.cmake index a01ca504..e86a4b3f 100644 --- a/cmake/pybind11.cmake +++ b/cmake/pybind11.cmake @@ -2,7 +2,7 @@ function(download_pybind11) include(FetchContent) set(pybind11_URL "https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz") - set(pybind11_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps/resolve/main/pybind11-2.10.2.tar.gz") + set(pybind11_URL2 "https://hub.nuaa.cf/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz") set(pybind11_HASH "SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae") # If you don't have access to the Internet, please download it to your