Committed by
GitHub
Update alternative URLs for onnxruntime 1.16.0 (#334)
正在显示
10 个修改的文件
包含
20 行增加
和
20 行删除
| @@ -10,8 +10,8 @@ if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) | @@ -10,8 +10,8 @@ if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) | ||
| 10 | message(FATAL_ERROR "This file is for aarch64 only. Given: ${CMAKE_SYSTEM_PROCESSOR}") | 10 | message(FATAL_ERROR "This file is for aarch64 only. Given: ${CMAKE_SYSTEM_PROCESSOR}") |
| 11 | endif() | 11 | endif() |
| 12 | 12 | ||
| 13 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-aarch64-1.16.0.tgz") | ||
| 14 | -set(onnxruntime_URL2 ) | 13 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-aarch64-1.16.0.tgz") |
| 14 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-aarch64-1.16.0.tgz") | ||
| 15 | set(onnxruntime_HASH "SHA256=8b15781d974803203c09df7d52c84d8c9f1ac7d949a97f515e4d2f5dc978d8af") | 15 | set(onnxruntime_HASH "SHA256=8b15781d974803203c09df7d52c84d8c9f1ac7d949a97f515e4d2f5dc978d8af") |
| 16 | 16 | ||
| 17 | # If you don't have access to the Internet, | 17 | # If you don't have access to the Internet, |
| @@ -10,8 +10,8 @@ if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL arm) | @@ -10,8 +10,8 @@ if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL arm) | ||
| 10 | message(FATAL_ERROR "This file is for arm only. Given: ${CMAKE_SYSTEM_PROCESSOR}") | 10 | message(FATAL_ERROR "This file is for arm only. Given: ${CMAKE_SYSTEM_PROCESSOR}") |
| 11 | endif() | 11 | endif() |
| 12 | 12 | ||
| 13 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.0.zip") | ||
| 14 | -set(onnxruntime_URL2 ) | 13 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-arm-1.16.0.zip") |
| 14 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.0.zip") | ||
| 15 | set(onnxruntime_HASH "SHA256=0a63ea99fbba3ee399d6626c36752844ae93ae19bab30e4bf00d45cc8a13da02") | 15 | set(onnxruntime_HASH "SHA256=0a63ea99fbba3ee399d6626c36752844ae93ae19bab30e4bf00d45cc8a13da02") |
| 16 | 16 | ||
| 17 | # If you don't have access to the Internet, | 17 | # If you don't have access to the Internet, |
| @@ -18,8 +18,8 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) | @@ -18,8 +18,8 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) | ||
| 18 | message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") | 18 | message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") |
| 19 | endif() | 19 | endif() |
| 20 | 20 | ||
| 21 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-gpu-1.16.0.tgz") | ||
| 22 | -set(onnxruntime_URL2 ) | 21 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-gpu-1.16.0.tgz") |
| 22 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-gpu-1.16.0.tgz") | ||
| 23 | set(onnxruntime_HASH "SHA256=f9cbf3d711f46d7e03ea43746ee9d1c7d8e82c171a4655f6591dd4d1ba1b9ec7") | 23 | set(onnxruntime_HASH "SHA256=f9cbf3d711f46d7e03ea43746ee9d1c7d8e82c171a4655f6591dd4d1ba1b9ec7") |
| 24 | 24 | ||
| 25 | # If you don't have access to the Internet, | 25 | # If you don't have access to the Internet, |
| @@ -14,8 +14,8 @@ if(BUILD_SHARED_LIBS) | @@ -14,8 +14,8 @@ if(BUILD_SHARED_LIBS) | ||
| 14 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 14 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 15 | endif() | 15 | endif() |
| 16 | 16 | ||
| 17 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-static_lib-1.16.0.tgz") | ||
| 18 | -set(onnxruntime_URL2 ) | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-static_lib-1.16.0.tgz") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-static_lib-1.16.0.tgz") | ||
| 19 | set(onnxruntime_HASH "SHA256=a36e989c9a07f12bf16f63acb2217b02a0cf4ac75aa7bc27de76ae08706a5c1f") | 19 | set(onnxruntime_HASH "SHA256=a36e989c9a07f12bf16f63acb2217b02a0cf4ac75aa7bc27de76ae08706a5c1f") |
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| @@ -14,8 +14,8 @@ if(NOT BUILD_SHARED_LIBS) | @@ -14,8 +14,8 @@ if(NOT BUILD_SHARED_LIBS) | ||
| 14 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 14 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 15 | endif() | 15 | endif() |
| 16 | 16 | ||
| 17 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.16.0.tgz") | ||
| 18 | -set(onnxruntime_URL2 ) | 17 | +set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.16.0.tgz") |
| 18 | +set(onnxruntime_URL2 "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-1.16.0.tgz") | ||
| 19 | set(onnxruntime_HASH "SHA256=02bcd1e4fef295dacc3b232774efeaa0a83527f439f29147c3badade4df1f6dc") | 19 | set(onnxruntime_HASH "SHA256=02bcd1e4fef295dacc3b232774efeaa0a83527f439f29147c3badade4df1f6dc") |
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| @@ -8,8 +8,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | @@ -8,8 +8,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | ||
| 8 | message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}") | 8 | message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}") |
| 9 | endif() | 9 | endif() |
| 10 | 10 | ||
| 11 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-arm64-1.16.0.tgz") | ||
| 12 | -set(onnxruntime_URL2 ) | 11 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-arm64-1.16.0.tgz") |
| 12 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-arm64-1.16.0.tgz") | ||
| 13 | set(onnxruntime_HASH "SHA256=fec3b70ca4f642a5c6d5c3a6f3a4eddd4c1b9281893fe2c7ae03a3086e20c316") | 13 | set(onnxruntime_HASH "SHA256=fec3b70ca4f642a5c6d5c3a6f3a4eddd4c1b9281893fe2c7ae03a3086e20c316") |
| 14 | 14 | ||
| 15 | # If you don't have access to the Internet, | 15 | # If you don't have access to the Internet, |
| @@ -9,8 +9,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | @@ -9,8 +9,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | ||
| 9 | message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}") | 9 | message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}") |
| 10 | endif() | 10 | endif() |
| 11 | 11 | ||
| 12 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-universal2-1.16.0.tgz") | ||
| 13 | -set(onnxruntime_URL2 ) | 12 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-universal2-1.16.0.tgz") |
| 13 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-universal2-1.16.0.tgz") | ||
| 14 | set(onnxruntime_HASH "SHA256=e5b69ece634cf1cd5cf4b45ab478417199a5e8ab5775f6f12560e09dc5ef7749") | 14 | set(onnxruntime_HASH "SHA256=e5b69ece634cf1cd5cf4b45ab478417199a5e8ab5775f6f12560e09dc5ef7749") |
| 15 | 15 | ||
| 16 | # If you don't have access to the Internet, | 16 | # If you don't have access to the Internet, |
| @@ -8,8 +8,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | @@ -8,8 +8,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | ||
| 8 | message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}") | 8 | message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}") |
| 9 | endif() | 9 | endif() |
| 10 | 10 | ||
| 11 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-x86_64-1.16.0.tgz") | ||
| 12 | -set(onnxruntime_URL2 ) | 11 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-x86_64-1.16.0.tgz") |
| 12 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-x86_64-1.16.0.tgz") | ||
| 13 | set(onnxruntime_HASH "SHA256=3d639a269af4e97a455f23cff363a709ef3a5f3e086162e65e3395c339122285") | 13 | set(onnxruntime_HASH "SHA256=3d639a269af4e97a455f23cff363a709ef3a5f3e086162e65e3395c339122285") |
| 14 | 14 | ||
| 15 | # If you don't have access to the Internet, | 15 | # If you don't have access to the Internet, |
| @@ -15,8 +15,8 @@ if(BUILD_SHARED_LIBS) | @@ -15,8 +15,8 @@ if(BUILD_SHARED_LIBS) | ||
| 15 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 15 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 16 | endif() | 16 | endif() |
| 17 | 17 | ||
| 18 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static-1.16.0.tar.bz2") | ||
| 19 | -set(onnxruntime_URL2 "") | 18 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-win-x64-static-1.16.0.tar.bz2") |
| 19 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static-1.16.0.tar.bz2") | ||
| 20 | set(onnxruntime_HASH "SHA256=d1b87e8a438a7e31b46bf13a194c5ac38fdf60ebeefef82692008e42e3242776") | 20 | set(onnxruntime_HASH "SHA256=d1b87e8a438a7e31b46bf13a194c5ac38fdf60ebeefef82692008e42e3242776") |
| 21 | 21 | ||
| 22 | # If you don't have access to the Internet, | 22 | # If you don't have access to the Internet, |
| @@ -15,8 +15,8 @@ if(BUILD_SHARED_LIBS) | @@ -15,8 +15,8 @@ if(BUILD_SHARED_LIBS) | ||
| 15 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 15 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 16 | endif() | 16 | endif() |
| 17 | 17 | ||
| 18 | -set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static-1.16.0.tar.bz2") | ||
| 19 | -set(onnxruntime_URL2 "") | 18 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-win-x86-static-1.16.0.tar.bz2") |
| 19 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static-1.16.0.tar.bz2") | ||
| 20 | set(onnxruntime_HASH "SHA256=aedb6b5275f7832ac5117db8e40328a0842ae8ce6749a0c99bcb4218c53fdc60") | 20 | set(onnxruntime_HASH "SHA256=aedb6b5275f7832ac5117db8e40328a0842ae8ce6749a0c99bcb4218c53fdc60") |
| 21 | 21 | ||
| 22 | # If you don't have access to the Internet, | 22 | # If you don't have access to the Internet, |
-
请 注册 或 登录 后发表评论