正在显示
1 个修改的文件
包含
4 行增加
和
6 行删除
| @@ -3,15 +3,14 @@ function(download_kaldi_native_fbank) | @@ -3,15 +3,14 @@ function(download_kaldi_native_fbank) | ||
| 3 | # FetchContent is available since 3.11, | 3 | # FetchContent is available since 3.11, |
| 4 | # we've copied it to ${CMAKE_SOURCE_DIR}/cmake/Modules | 4 | # we've copied it to ${CMAKE_SOURCE_DIR}/cmake/Modules |
| 5 | # so that it can be used in lower CMake versions. | 5 | # so that it can be used in lower CMake versions. |
| 6 | - message(STATUS "Use FetchContent provided by sherpa-onnx") | 6 | + message(STATUS "Use FetchContent provided by sherpa-ncnn") |
| 7 | list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules) | 7 | list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules) |
| 8 | endif() | 8 | endif() |
| 9 | 9 | ||
| 10 | include(FetchContent) | 10 | include(FetchContent) |
| 11 | 11 | ||
| 12 | - set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.2.tar.gz") | ||
| 13 | - set(kaldi_native_fbank_HASH "SHA256=d4562be95b9d5e974258d3f7e8506b48e454b9b0930dcddf1db020b763418c86") | ||
| 14 | - | 12 | + set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.4.tar.gz") |
| 13 | + set(kaldi_native_fbank_HASH "SHA256=771e08cb7edf512c828f4577d0d071a7993991d7e5415b11a843975dcf3e4d2d") | ||
| 15 | 14 | ||
| 16 | set(KALDI_NATIVE_FBANK_BUILD_TESTS OFF CACHE BOOL "" FORCE) | 15 | set(KALDI_NATIVE_FBANK_BUILD_TESTS OFF CACHE BOOL "" FORCE) |
| 17 | set(KALDI_NATIVE_FBANK_BUILD_PYTHON OFF CACHE BOOL "" FORCE) | 16 | set(KALDI_NATIVE_FBANK_BUILD_PYTHON OFF CACHE BOOL "" FORCE) |
| @@ -37,5 +36,4 @@ function(download_kaldi_native_fbank) | @@ -37,5 +36,4 @@ function(download_kaldi_native_fbank) | ||
| 37 | ) | 36 | ) |
| 38 | endfunction() | 37 | endfunction() |
| 39 | 38 | ||
| 40 | -download_kaldi_native_fbank() | ||
| 41 | - | 39 | +download_kaldi_native_fbank() |
-
请 注册 或 登录 后发表评论