正在显示
1 个修改的文件
包含
8 行增加
和
8 行删除
| @@ -3,18 +3,18 @@ | @@ -3,18 +3,18 @@ | ||
| 3 | function(download_openfst) | 3 | function(download_openfst) |
| 4 | include(FetchContent) | 4 | include(FetchContent) |
| 5 | 5 | ||
| 6 | - set(openfst_URL "https://github.com/csukuangfj/openfst/archive/792965fda2a3bc29f282321f527af0d6ba26fd22.zip") | ||
| 7 | - set(openfst_URL2 "https://hub.nuaa.cf/csukuangfj/openfst/archive/792965fda2a3bc29f282321f527af0d6ba26fd22.zip") | ||
| 8 | - set(openfst_HASH "SHA256=815d8acf555e4aaece294d6280ec209d0e9d91e0120e8406b24ff7124ecdbb26") | 6 | + set(openfst_URL "https://github.com/csukuangfj/openfst/archive/refs/tags/sherpa-onnx-2024-04-09.tar.gz") |
| 7 | + set(openfst_URL2 "https://hub.nuaa.cf/csukuangfj/openfst/archive/refs/tags/sherpa-onnx-2024-04-09.tar.gz") | ||
| 8 | + set(openfst_HASH "SHA256=d6bdb1700fa38938807184c69a5abe133e730af80822bb85c8f228768a969b92") | ||
| 9 | 9 | ||
| 10 | # If you don't have access to the Internet, | 10 | # If you don't have access to the Internet, |
| 11 | # please pre-download it | 11 | # please pre-download it |
| 12 | set(possible_file_locations | 12 | set(possible_file_locations |
| 13 | - $ENV{HOME}/Downloads/openfst-792965fda2a3bc29f282321f527af0d6ba26fd22.zip | ||
| 14 | - ${CMAKE_SOURCE_DIR}/openfst-792965fda2a3bc29f282321f527af0d6ba26fd22.zip | ||
| 15 | - ${CMAKE_BINARY_DIR}/openfst-792965fda2a3bc29f282321f527af0d6ba26fd22.zip | ||
| 16 | - /tmp/openfst-792965fda2a3bc29f282321f527af0d6ba26fd22.zip | ||
| 17 | - /star-fj/fangjun/download/github/openfst-792965fda2a3bc29f282321f527af0d6ba26fd22.zip | 13 | + $ENV{HOME}/Downloads/openfst-sherpa-onnx-2024-04-09.tar.gz |
| 14 | + ${CMAKE_SOURCE_DIR}/openfst-sherpa-onnx-2024-04-09.tar.gz | ||
| 15 | + ${CMAKE_BINARY_DIR}/openfst-sherpa-onnx-2024-04-09.tar.gz | ||
| 16 | + /tmp/openfst-sherpa-onnx-2024-04-09.tar.gz | ||
| 17 | + /star-fj/fangjun/download/github/openfst-sherpa-onnx-2024-04-09.tar.gz | ||
| 18 | ) | 18 | ) |
| 19 | 19 | ||
| 20 | foreach(f IN LISTS possible_file_locations) | 20 | foreach(f IN LISTS possible_file_locations) |
-
请 注册 或 登录 后发表评论