正在显示
24 个修改的文件
包含
140 行增加
和
140 行删除
| @@ -42,7 +42,7 @@ fi | @@ -42,7 +42,7 @@ fi | ||
| 42 | 42 | ||
| 43 | echo "ANDROID_NDK: $ANDROID_NDK" | 43 | echo "ANDROID_NDK: $ANDROID_NDK" |
| 44 | sleep 1 | 44 | sleep 1 |
| 45 | -onnxruntime_version=v1.16.1 | 45 | +onnxruntime_version=v1.16.2 |
| 46 | 46 | ||
| 47 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then | 47 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then |
| 48 | if [ ! -d android-onnxruntime-libs ]; then | 48 | if [ ! -d android-onnxruntime-libs ]; then |
| @@ -43,7 +43,7 @@ fi | @@ -43,7 +43,7 @@ fi | ||
| 43 | echo "ANDROID_NDK: $ANDROID_NDK" | 43 | echo "ANDROID_NDK: $ANDROID_NDK" |
| 44 | sleep 1 | 44 | sleep 1 |
| 45 | 45 | ||
| 46 | -onnxruntime_version=v1.16.1 | 46 | +onnxruntime_version=v1.16.2 |
| 47 | 47 | ||
| 48 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then | 48 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then |
| 49 | if [ ! -d android-onnxruntime-libs ]; then | 49 | if [ ! -d android-onnxruntime-libs ]; then |
| @@ -43,7 +43,7 @@ fi | @@ -43,7 +43,7 @@ fi | ||
| 43 | echo "ANDROID_NDK: $ANDROID_NDK" | 43 | echo "ANDROID_NDK: $ANDROID_NDK" |
| 44 | sleep 1 | 44 | sleep 1 |
| 45 | 45 | ||
| 46 | -onnxruntime_version=v1.16.1 | 46 | +onnxruntime_version=v1.16.2 |
| 47 | 47 | ||
| 48 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then | 48 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then |
| 49 | if [ ! -d android-onnxruntime-libs ]; then | 49 | if [ ! -d android-onnxruntime-libs ]; then |
| @@ -43,7 +43,7 @@ fi | @@ -43,7 +43,7 @@ fi | ||
| 43 | echo "ANDROID_NDK: $ANDROID_NDK" | 43 | echo "ANDROID_NDK: $ANDROID_NDK" |
| 44 | sleep 1 | 44 | sleep 1 |
| 45 | 45 | ||
| 46 | -onnxruntime_version=v1.16.1 | 46 | +onnxruntime_version=v1.16.2 |
| 47 | 47 | ||
| 48 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/x86/libonnxruntime.so ]; then | 48 | if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/x86/libonnxruntime.so ]; then |
| 49 | if [ ! -d android-onnxruntime-libs ]; then | 49 | if [ ! -d android-onnxruntime-libs ]; then |
| @@ -5,7 +5,7 @@ set -e | @@ -5,7 +5,7 @@ set -e | ||
| 5 | dir=build-ios | 5 | dir=build-ios |
| 6 | mkdir -p $dir | 6 | mkdir -p $dir |
| 7 | cd $dir | 7 | cd $dir |
| 8 | -onnxruntime_version=1.16.1 | 8 | +onnxruntime_version=1.16.2 |
| 9 | 9 | ||
| 10 | if [ ! -f ios-onnxruntime/$onnxruntime_version/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then | 10 | if [ ! -f ios-onnxruntime/$onnxruntime_version/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then |
| 11 | if [ ! -d ios-onnxruntime ]; then | 11 | if [ ! -d ios-onnxruntime ]; then |
| @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) | @@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-aarch64-static_lib-1.16.1.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-static_lib-1.16.1.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=9b25c41fc2158b345744984d154ca975c8a772c0eb90a0ccfbe2be147b438ae3") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-linux-aarch64-static_lib-1.16.2.zip") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-static_lib-1.16.2.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=47c3f93612d978900eee8201ab36ee16bfc63b2ccbb216014bea7fdf5930c526") | ||
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| 22 | # please download onnxruntime to one of the following locations. | 22 | # please download onnxruntime to one of the following locations. |
| 23 | # You can add more if you want. | 23 | # You can add more if you want. |
| 24 | set(possible_file_locations | 24 | set(possible_file_locations |
| 25 | - $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.16.1.zip | ||
| 26 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.1.zip | ||
| 27 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.1.zip | ||
| 28 | - /tmp/onnxruntime-linux-aarch64-static_lib-1.16.1.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.16.1.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.16.2.zip |
| 26 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.2.zip | ||
| 27 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.2.zip | ||
| 28 | + /tmp/onnxruntime-linux-aarch64-static_lib-1.16.2.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.16.2.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) | @@ -14,19 +14,19 @@ 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://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-linux-aarch64-1.16.1.tgz") | ||
| 18 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-1.16.1.tgz") | ||
| 19 | -set(onnxruntime_HASH "SHA256=f10851b62eb44f9e811134737e7c6edd15733d2c1549cb6ce403808e9c047385") | 17 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-linux-aarch64-1.16.2.tgz") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-1.16.2.tgz") | ||
| 19 | +set(onnxruntime_HASH "SHA256=4c1a21bd9c3acc17d4176a09b89602954f511a97d489be0cfdf356ebd789c409") | ||
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| 22 | # please download onnxruntime to one of the following locations. | 22 | # please download onnxruntime to one of the following locations. |
| 23 | # You can add more if you want. | 23 | # You can add more if you want. |
| 24 | set(possible_file_locations | 24 | set(possible_file_locations |
| 25 | - $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.16.1.tgz | ||
| 26 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.1.tgz | ||
| 27 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.1.tgz | ||
| 28 | - /tmp/onnxruntime-linux-aarch64-1.16.1.tgz | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.1.tgz | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.16.2.tgz |
| 26 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.2.tgz | ||
| 27 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.2.tgz | ||
| 28 | + /tmp/onnxruntime-linux-aarch64-1.16.2.tgz | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.2.tgz | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) | @@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-arm-static_lib-1.16.1.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.16.1.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=7f01a4b025a2ae3bececd2ea1bbef6bdc0b5df43395f6a799123b74fa6180356") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-linux-arm-static_lib-1.16.2.zip") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.16.2.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=688cadd403c41975d29a9659e2ffcbbcdb5c60de281084a7a93170be5b33e60e") | ||
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| 22 | # please download onnxruntime to one of the following locations. | 22 | # please download onnxruntime to one of the following locations. |
| 23 | # You can add more if you want. | 23 | # You can add more if you want. |
| 24 | set(possible_file_locations | 24 | set(possible_file_locations |
| 25 | - $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.16.1.zip | ||
| 26 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.1.zip | ||
| 27 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.16.1.zip | ||
| 28 | - /tmp/onnxruntime-linux-arm-static_lib-1.16.1.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.16.1.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.16.2.zip |
| 26 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.2.zip | ||
| 27 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.16.2.zip | ||
| 28 | + /tmp/onnxruntime-linux-arm-static_lib-1.16.2.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.16.2.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) | @@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-arm-1.16.1.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.1.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=a668be37aa2eb5370e682f7599266c767b5327c1468203c372d8ceca4be1b585") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-linux-arm-1.16.2.zip") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.2.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=3744a80478cba2c08d8a32a4d6a9dab45b47fd9bb4bde2ba1d1633bc00ca9990") | ||
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| 22 | # please download onnxruntime to one of the following locations. | 22 | # please download onnxruntime to one of the following locations. |
| 23 | # You can add more if you want. | 23 | # You can add more if you want. |
| 24 | set(possible_file_locations | 24 | set(possible_file_locations |
| 25 | - $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.16.1.zip | ||
| 26 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.1.zip | ||
| 27 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.1.zip | ||
| 28 | - /tmp/onnxruntime-linux-arm-1.16.1.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.1.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.16.2.zip |
| 26 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.2.zip | ||
| 27 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.2.zip | ||
| 28 | + /tmp/onnxruntime-linux-arm-1.16.2.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.2.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -18,19 +18,19 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) | @@ -18,19 +18,19 @@ 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://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-linux-x64-gpu-1.16.1.tgz") | ||
| 22 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.16.1.tgz") | ||
| 23 | -set(onnxruntime_HASH "SHA256=474d5d74b588d54aa3e167f38acc9b1b8d20c292d0db92299bdc33a81eb4492d") | 21 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-linux-x64-gpu-1.16.2.tgz") |
| 22 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.16.2.tgz") | ||
| 23 | +set(onnxruntime_HASH "SHA256=84618c385d5cbac48fc714b8fb86e43828b52038144c1e0fdcb4c03293ae2d5a") | ||
| 24 | 24 | ||
| 25 | # If you don't have access to the Internet, | 25 | # If you don't have access to the Internet, |
| 26 | # please download onnxruntime to one of the following locations. | 26 | # please download onnxruntime to one of the following locations. |
| 27 | # You can add more if you want. | 27 | # You can add more if you want. |
| 28 | set(possible_file_locations | 28 | set(possible_file_locations |
| 29 | - $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.1.tgz | ||
| 30 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.1.tgz | ||
| 31 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.1.tgz | ||
| 32 | - /tmp/onnxruntime-linux-x64-gpu-1.16.1.tgz | ||
| 33 | - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.1.tgz | 29 | + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.2.tgz |
| 30 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.2.tgz | ||
| 31 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.2.tgz | ||
| 32 | + /tmp/onnxruntime-linux-x64-gpu-1.16.2.tgz | ||
| 33 | + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.2.tgz | ||
| 34 | ) | 34 | ) |
| 35 | 35 | ||
| 36 | foreach(f IN LISTS possible_file_locations) | 36 | foreach(f IN LISTS possible_file_locations) |
| @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) | @@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-x64-static_lib-1.16.1.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-static_lib-1.16.1.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=0aa52fbff16ee9b165f42b7ea2ad61600d415d19681c9a9c6daca686c512cc64") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-linux-x64-static_lib-1.16.2.zip") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-static_lib-1.16.2.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=912205ff23d7b717f6a24e6fa5287feefbea51657b24c0934b0a178ead371bdb") | ||
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| 22 | # please download onnxruntime to one of the following locations. | 22 | # please download onnxruntime to one of the following locations. |
| 23 | # You can add more if you want. | 23 | # You can add more if you want. |
| 24 | set(possible_file_locations | 24 | set(possible_file_locations |
| 25 | - $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.16.1.zip | ||
| 26 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.1.zip | ||
| 27 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.1.zip | ||
| 28 | - /tmp/onnxruntime-linux-x64-static_lib-1.16.1.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.1.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.16.2.zip |
| 26 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.2.zip | ||
| 27 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.2.zip | ||
| 28 | + /tmp/onnxruntime-linux-x64-static_lib-1.16.2.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.2.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) | @@ -14,19 +14,19 @@ 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://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-linux-x64-1.16.1.tgz") | ||
| 18 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-1.16.1.tgz") | ||
| 19 | -set(onnxruntime_HASH "SHA256=53a0f03f71587ed602e99e82773132fc634b74c2d227316fbfd4bf67181e72ed") | 17 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-linux-x64-1.16.2.tgz") |
| 18 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-1.16.2.tgz") | ||
| 19 | +set(onnxruntime_HASH "SHA256=70c769771ad4b6d63b87ca1f62d3f11e998ea0b9d738d6bbdd6a5e6d8c1deb31") | ||
| 20 | 20 | ||
| 21 | # If you don't have access to the Internet, | 21 | # If you don't have access to the Internet, |
| 22 | # please download onnxruntime to one of the following locations. | 22 | # please download onnxruntime to one of the following locations. |
| 23 | # You can add more if you want. | 23 | # You can add more if you want. |
| 24 | set(possible_file_locations | 24 | set(possible_file_locations |
| 25 | - $ENV{HOME}/Downloads/onnxruntime-linux-x64-1.16.1.tgz | ||
| 26 | - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.1.tgz | ||
| 27 | - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.1.tgz | ||
| 28 | - /tmp/onnxruntime-linux-x64-1.16.1.tgz | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.1.tgz | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-x64-1.16.2.tgz |
| 26 | + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.2.tgz | ||
| 27 | + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.2.tgz | ||
| 28 | + /tmp/onnxruntime-linux-x64-1.16.2.tgz | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.2.tgz | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) | @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) | ||
| 12 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 12 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 13 | endif() | 13 | endif() |
| 14 | 14 | ||
| 15 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-arm64-static_lib-1.16.1.zip") | ||
| 16 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.16.1.zip") | ||
| 17 | -set(onnxruntime_HASH "SHA256=2f7e9661bb01cf676f676c8d02e24a1e8e244e6f1e2a983e9a6f5f582b7e4a02") | 15 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-osx-arm64-static_lib-1.16.2.zip") |
| 16 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.16.2.zip") | ||
| 17 | +set(onnxruntime_HASH "SHA256=d981882bc46d7bdbbf44ea5678549fa620cc33989682cd4f0362c5affbf9e83c") | ||
| 18 | 18 | ||
| 19 | # If you don't have access to the Internet, | 19 | # If you don't have access to the Internet, |
| 20 | # please download onnxruntime to one of the following locations. | 20 | # please download onnxruntime to one of the following locations. |
| 21 | # You can add more if you want. | 21 | # You can add more if you want. |
| 22 | set(possible_file_locations | 22 | set(possible_file_locations |
| 23 | - $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.16.1.zip | ||
| 24 | - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.16.1.zip | ||
| 25 | - ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.16.1.zip | ||
| 26 | - /tmp/onnxruntime-osx-arm64-static_lib-1.16.1.zip | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.16.2.zip |
| 24 | + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.16.2.zip | ||
| 25 | + ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.16.2.zip | ||
| 26 | + /tmp/onnxruntime-osx-arm64-static_lib-1.16.2.zip | ||
| 27 | ) | 27 | ) |
| 28 | 28 | ||
| 29 | foreach(f IN LISTS possible_file_locations) | 29 | foreach(f IN LISTS possible_file_locations) |
| @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) | @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) | ||
| 12 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 12 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 13 | endif() | 13 | endif() |
| 14 | 14 | ||
| 15 | -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-osx-arm64-1.16.1.tgz") | ||
| 16 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-1.16.1.tgz") | ||
| 17 | -set(onnxruntime_HASH "SHA256=56ca6b8de3a220ea606c2067ba65d11dfa6e4f722e01ac7dc75f7152b81445e0") | 15 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-arm64-1.16.2.tgz") |
| 16 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-1.16.2.tgz") | ||
| 17 | +set(onnxruntime_HASH "SHA256=129eb884b39102492ff6fad3dc5aeaa2b1cca3a941fbd7436aaacf87a549facf") | ||
| 18 | 18 | ||
| 19 | # If you don't have access to the Internet, | 19 | # If you don't have access to the Internet, |
| 20 | # please download onnxruntime to one of the following locations. | 20 | # please download onnxruntime to one of the following locations. |
| 21 | # You can add more if you want. | 21 | # You can add more if you want. |
| 22 | set(possible_file_locations | 22 | set(possible_file_locations |
| 23 | - $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.16.1.tgz | ||
| 24 | - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.1.tgz | ||
| 25 | - ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.1.tgz | ||
| 26 | - /tmp/onnxruntime-osx-arm64-1.16.1.tgz | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.16.2.tgz |
| 24 | + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.2.tgz | ||
| 25 | + ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.2.tgz | ||
| 26 | + /tmp/onnxruntime-osx-arm64-1.16.2.tgz | ||
| 27 | ) | 27 | ) |
| 28 | 28 | ||
| 29 | foreach(f IN LISTS possible_file_locations) | 29 | foreach(f IN LISTS possible_file_locations) |
| @@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS) | @@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS) | ||
| 13 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 13 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 14 | endif() | 14 | endif() |
| 15 | 15 | ||
| 16 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-universal2-static_lib-1.16.1.zip") | ||
| 17 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.16.1.zip") | ||
| 18 | -set(onnxruntime_HASH "SHA256=ec47c70f47a76da237c10607e5129b99230c101c132ea1ec13b90d6e36f84a89") | 16 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-osx-universal2-static_lib-1.16.2.zip") |
| 17 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.16.2.zip") | ||
| 18 | +set(onnxruntime_HASH "SHA256=d81e878186cddc70d9e0c5b36a0cc1bd7e7e705c97fad5878a300df2d12236a4") | ||
| 19 | 19 | ||
| 20 | # If you don't have access to the Internet, | 20 | # If you don't have access to the Internet, |
| 21 | # please download onnxruntime to one of the following locations. | 21 | # please download onnxruntime to one of the following locations. |
| 22 | # You can add more if you want. | 22 | # You can add more if you want. |
| 23 | set(possible_file_locations | 23 | set(possible_file_locations |
| 24 | - $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.16.1.zip | ||
| 25 | - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.16.1.zip | ||
| 26 | - ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.16.1.zip | ||
| 27 | - /tmp/onnxruntime-osx-universal2-static_lib-1.16.1.zip | 24 | + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.16.2.zip |
| 25 | + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.16.2.zip | ||
| 26 | + ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.16.2.zip | ||
| 27 | + /tmp/onnxruntime-osx-universal2-static_lib-1.16.2.zip | ||
| 28 | ) | 28 | ) |
| 29 | 29 | ||
| 30 | foreach(f IN LISTS possible_file_locations) | 30 | foreach(f IN LISTS possible_file_locations) |
| @@ -13,18 +13,18 @@ if(NOT BUILD_SHARED_LIBS) | @@ -13,18 +13,18 @@ if(NOT BUILD_SHARED_LIBS) | ||
| 13 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 13 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 14 | endif() | 14 | endif() |
| 15 | 15 | ||
| 16 | -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-osx-universal2-1.16.1.tgz") | ||
| 17 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-1.16.1.tgz") | ||
| 18 | -set(onnxruntime_HASH "SHA256=e8568a4a3f602c25ea7c3bbd2f085340dff5bb68fa7c859fd763d944105e3d76") | 16 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-universal2-1.16.2.tgz") |
| 17 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-1.16.2.tgz") | ||
| 18 | +set(onnxruntime_HASH "SHA256=eb5200ceb5d196c5c84eb72a7831a780d1b63349b158405bc28a7817ad125b3d") | ||
| 19 | 19 | ||
| 20 | # If you don't have access to the Internet, | 20 | # If you don't have access to the Internet, |
| 21 | # please download onnxruntime to one of the following locations. | 21 | # please download onnxruntime to one of the following locations. |
| 22 | # You can add more if you want. | 22 | # You can add more if you want. |
| 23 | set(possible_file_locations | 23 | set(possible_file_locations |
| 24 | - $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.16.1.tgz | ||
| 25 | - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.1.tgz | ||
| 26 | - ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.1.tgz | ||
| 27 | - /tmp/onnxruntime-osx-universal2-1.16.1.tgz | 24 | + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.16.2.tgz |
| 25 | + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.2.tgz | ||
| 26 | + ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.2.tgz | ||
| 27 | + /tmp/onnxruntime-osx-universal2-1.16.2.tgz | ||
| 28 | ) | 28 | ) |
| 29 | 29 | ||
| 30 | foreach(f IN LISTS possible_file_locations) | 30 | foreach(f IN LISTS possible_file_locations) |
| @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) | @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) | ||
| 12 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 12 | message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 13 | endif() | 13 | endif() |
| 14 | 14 | ||
| 15 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-x86_64-static_lib-1.16.1.zip") | ||
| 16 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.16.1.zip") | ||
| 17 | -set(onnxruntime_HASH "SHA256=da7e223d975ddfc9599187d016e2fc47e6f072f2a9817c5a48d8d7f021b49fbb") | 15 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-osx-x86_64-static_lib-1.16.2.zip") |
| 16 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.16.2.zip") | ||
| 17 | +set(onnxruntime_HASH "SHA256=5b35de726aca53e6db714db6e1b5537ac5416fae43941dbe5edc103d0c093d39") | ||
| 18 | 18 | ||
| 19 | # If you don't have access to the Internet, | 19 | # If you don't have access to the Internet, |
| 20 | # please download onnxruntime to one of the following locations. | 20 | # please download onnxruntime to one of the following locations. |
| 21 | # You can add more if you want. | 21 | # You can add more if you want. |
| 22 | set(possible_file_locations | 22 | set(possible_file_locations |
| 23 | - $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.16.1.zip | ||
| 24 | - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.1.zip | ||
| 25 | - ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.1.zip | ||
| 26 | - /tmp/onnxruntime-osx-x86_64-static_lib-1.16.1.zip | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.16.2.zip |
| 24 | + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.2.zip | ||
| 25 | + ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.2.zip | ||
| 26 | + /tmp/onnxruntime-osx-x86_64-static_lib-1.16.2.zip | ||
| 27 | ) | 27 | ) |
| 28 | 28 | ||
| 29 | foreach(f IN LISTS possible_file_locations) | 29 | foreach(f IN LISTS possible_file_locations) |
| @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) | @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) | ||
| 12 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 12 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 13 | endif() | 13 | endif() |
| 14 | 14 | ||
| 15 | -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-osx-x86_64-1.16.1.tgz") | ||
| 16 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.1.tgz") | ||
| 17 | -set(onnxruntime_HASH "SHA256=0b8ae24401a8f75e1c4f75257d4eaeb1b6d44055e027df4aa4a84e67e0f9b9e3") | 15 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-x86_64-1.16.2.tgz") |
| 16 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.2.tgz") | ||
| 17 | +set(onnxruntime_HASH "SHA256=5d18e49e0b0baff1ae73c3b1e566b57aa61dfc0ba498da0bc26d73dcbba74e6d") | ||
| 18 | 18 | ||
| 19 | # If you don't have access to the Internet, | 19 | # If you don't have access to the Internet, |
| 20 | # please download onnxruntime to one of the following locations. | 20 | # please download onnxruntime to one of the following locations. |
| 21 | # You can add more if you want. | 21 | # You can add more if you want. |
| 22 | set(possible_file_locations | 22 | set(possible_file_locations |
| 23 | - $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.1.tgz | ||
| 24 | - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.1.tgz | ||
| 25 | - ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.1.tgz | ||
| 26 | - /tmp/onnxruntime-osx-x86_64-1.16.1.tgz | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.2.tgz |
| 24 | + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.2.tgz | ||
| 25 | + ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.2.tgz | ||
| 26 | + /tmp/onnxruntime-osx-x86_64-1.16.2.tgz | ||
| 27 | ) | 27 | ) |
| 28 | 28 | ||
| 29 | foreach(f IN LISTS possible_file_locations) | 29 | foreach(f IN LISTS possible_file_locations) |
| @@ -19,18 +19,18 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) | @@ -19,18 +19,18 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) | ||
| 19 | message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") | 19 | message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") |
| 20 | endif() | 20 | endif() |
| 21 | 21 | ||
| 22 | -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-win-x64-gpu-1.16.1.zip") | ||
| 23 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-gpu-1.16.1.zip") | ||
| 24 | -set(onnxruntime_HASH "SHA256=b841f8e8d9a0556bfc5228ff1488395fa041fafe8d16a62e25a254d000d51888") | 22 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-win-x64-gpu-1.16.2.zip") |
| 23 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-gpu-1.16.2.zip") | ||
| 24 | +set(onnxruntime_HASH "SHA256=241572c3562e94281b1925c980c9a9fa3a605e0687218991e89b8bede0af2f06") | ||
| 25 | 25 | ||
| 26 | # If you don't have access to the Internet, | 26 | # If you don't have access to the Internet, |
| 27 | # please download onnxruntime to one of the following locations. | 27 | # please download onnxruntime to one of the following locations. |
| 28 | # You can add more if you want. | 28 | # You can add more if you want. |
| 29 | set(possible_file_locations | 29 | set(possible_file_locations |
| 30 | - $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.16.1.zip | ||
| 31 | - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.1.zip | ||
| 32 | - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.1.zip | ||
| 33 | - /tmp/onnxruntime-win-x64-gpu-1.16.1.zip | 30 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.16.2.zip |
| 31 | + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.2.zip | ||
| 32 | + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.2.zip | ||
| 33 | + /tmp/onnxruntime-win-x64-gpu-1.16.2.zip | ||
| 34 | ) | 34 | ) |
| 35 | 35 | ||
| 36 | foreach(f IN LISTS possible_file_locations) | 36 | foreach(f IN LISTS possible_file_locations) |
| @@ -15,18 +15,18 @@ if(BUILD_SHARED_LIBS) | @@ -15,18 +15,18 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2") | ||
| 19 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2") | ||
| 20 | -set(onnxruntime_HASH "SHA256=9d7ba69823a6948887d0dee3e80c8c8ce84aae3e4e151f1e96eb34ca8ba9915f") | 18 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2") |
| 19 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2") | ||
| 20 | +set(onnxruntime_HASH "SHA256=f8fa3305cdde4df82e9a8e4627b9fa25142231d1526c6f170bb81f94648bfb6e") | ||
| 21 | 21 | ||
| 22 | # If you don't have access to the Internet, | 22 | # If you don't have access to the Internet, |
| 23 | # please download onnxruntime to one of the following locations. | 23 | # please download onnxruntime to one of the following locations. |
| 24 | # You can add more if you want. | 24 | # You can add more if you want. |
| 25 | set(possible_file_locations | 25 | set(possible_file_locations |
| 26 | - $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 | ||
| 27 | - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 | ||
| 28 | - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 | ||
| 29 | - /tmp/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 | 26 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 |
| 27 | + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 | ||
| 28 | + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 | ||
| 29 | + /tmp/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) | @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) | ||
| 15 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 15 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 16 | endif() | 16 | endif() |
| 17 | 17 | ||
| 18 | -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-win-x64-1.16.1.zip") | ||
| 19 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-1.16.1.zip") | ||
| 20 | -set(onnxruntime_HASH "SHA256=05a972384c73c05bce51ffd3e15b1e78325ea9fa652573113159b5cac547ecce") | 18 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-win-x64-1.16.2.zip") |
| 19 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-1.16.2.zip") | ||
| 20 | +set(onnxruntime_HASH "SHA256=56df1a803a8ca24456471ee3540c1476e3f0b49a1690b93832775ee667a8ce61") | ||
| 21 | 21 | ||
| 22 | # If you don't have access to the Internet, | 22 | # If you don't have access to the Internet, |
| 23 | # please download onnxruntime to one of the following locations. | 23 | # please download onnxruntime to one of the following locations. |
| 24 | # You can add more if you want. | 24 | # You can add more if you want. |
| 25 | set(possible_file_locations | 25 | set(possible_file_locations |
| 26 | - $ENV{HOME}/Downloads/onnxruntime-win-x64-1.16.1.zip | ||
| 27 | - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.1.zip | ||
| 28 | - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.1.zip | ||
| 29 | - /tmp/onnxruntime-win-x64-1.16.1.zip | 26 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-1.16.2.zip |
| 27 | + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.2.zip | ||
| 28 | + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.2.zip | ||
| 29 | + /tmp/onnxruntime-win-x64-1.16.2.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -15,18 +15,18 @@ if(BUILD_SHARED_LIBS) | @@ -15,18 +15,18 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2") | ||
| 19 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2") | ||
| 20 | -set(onnxruntime_HASH "SHA256=590d702f6705452567789ef862384e8ab99b039da10e7ecdc11a07d778c80ff9") | 18 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.2/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2") |
| 19 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2") | ||
| 20 | +set(onnxruntime_HASH "SHA256=b862605afc38a3b859673bc6a6691524328fc851b5a60a86eac12fb3192475e3") | ||
| 21 | 21 | ||
| 22 | # If you don't have access to the Internet, | 22 | # If you don't have access to the Internet, |
| 23 | # please download onnxruntime to one of the following locations. | 23 | # please download onnxruntime to one of the following locations. |
| 24 | # You can add more if you want. | 24 | # You can add more if you want. |
| 25 | set(possible_file_locations | 25 | set(possible_file_locations |
| 26 | - $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 | ||
| 27 | - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 | ||
| 28 | - ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 | ||
| 29 | - /tmp/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 | 26 | + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 |
| 27 | + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 | ||
| 28 | + ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 | ||
| 29 | + /tmp/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) | @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) | ||
| 15 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") | 15 | message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") |
| 16 | endif() | 16 | endif() |
| 17 | 17 | ||
| 18 | -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-win-x86-1.16.1.zip") | ||
| 19 | -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-1.16.1.zip") | ||
| 20 | -set(onnxruntime_HASH "SHA256=60b476cde62d424fc9bf87ec3bf275cf40af76bdb25022581f3ecaf4af5992a1") | 18 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-win-x86-1.16.2.zip") |
| 19 | +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-1.16.2.zip") | ||
| 20 | +set(onnxruntime_HASH "SHA256=d8d4b0168670fb16f8d0af95f20334faa804c3eb6e5057d372c22e6efbad3142") | ||
| 21 | 21 | ||
| 22 | # If you don't have access to the Internet, | 22 | # If you don't have access to the Internet, |
| 23 | # please download onnxruntime to one of the following locations. | 23 | # please download onnxruntime to one of the following locations. |
| 24 | # You can add more if you want. | 24 | # You can add more if you want. |
| 25 | set(possible_file_locations | 25 | set(possible_file_locations |
| 26 | - $ENV{HOME}/Downloads/onnxruntime-win-x86-1.16.1.zip | ||
| 27 | - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.1.zip | ||
| 28 | - ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.1.zip | ||
| 29 | - /tmp/onnxruntime-win-x86-1.16.1.zip | 26 | + $ENV{HOME}/Downloads/onnxruntime-win-x86-1.16.2.zip |
| 27 | + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.2.zip | ||
| 28 | + ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.2.zip | ||
| 29 | + /tmp/onnxruntime-win-x86-1.16.2.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -34,7 +34,7 @@ def get_dict(): | @@ -34,7 +34,7 @@ def get_dict(): | ||
| 34 | def process_linux(s): | 34 | def process_linux(s): |
| 35 | libs = [ | 35 | libs = [ |
| 36 | "libkaldi-native-fbank-core.so", | 36 | "libkaldi-native-fbank-core.so", |
| 37 | - "libonnxruntime.so.1.16.1", | 37 | + "libonnxruntime.so.1.16.2", |
| 38 | "libsherpa-onnx-c-api.so", | 38 | "libsherpa-onnx-c-api.so", |
| 39 | "libsherpa-onnx-core.so", | 39 | "libsherpa-onnx-core.so", |
| 40 | ] | 40 | ] |
| @@ -56,7 +56,7 @@ def process_linux(s): | @@ -56,7 +56,7 @@ def process_linux(s): | ||
| 56 | def process_macos(s): | 56 | def process_macos(s): |
| 57 | libs = [ | 57 | libs = [ |
| 58 | "libkaldi-native-fbank-core.dylib", | 58 | "libkaldi-native-fbank-core.dylib", |
| 59 | - "libonnxruntime.1.16.1.dylib", | 59 | + "libonnxruntime.1.16.2.dylib", |
| 60 | "libsherpa-onnx-c-api.dylib", | 60 | "libsherpa-onnx-c-api.dylib", |
| 61 | "libsherpa-onnx-core.dylib", | 61 | "libsherpa-onnx-core.dylib", |
| 62 | ] | 62 | ] |
-
请 注册 或 登录 后发表评论