Skip to content

Commit

Permalink
Download dependencies using GitHub mirrow from China instead of Huggi…
Browse files Browse the repository at this point in the history
…ngface. (#297)
  • Loading branch information
csukuangfj authored Jan 18, 2024
1 parent 7cc031d commit 4c00ac7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/kaldi-native-fbank.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake/ncnn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake/pybind11.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c00ac7

Please sign in to comment.