正在显示
27 个修改的文件
包含
166 行增加
和
166 行删除
| @@ -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=1.17.0 | 45 | +onnxruntime_version=1.17.1 |
| 46 | 46 | ||
| 47 | if [ ! -f $onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then | 47 | if [ ! -f $onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then |
| 48 | mkdir -p $onnxruntime_version | 48 | mkdir -p $onnxruntime_version |
| @@ -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=1.17.0 | 46 | +onnxruntime_version=1.17.1 |
| 47 | 47 | ||
| 48 | if [ ! -f $onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then | 48 | if [ ! -f $onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then |
| 49 | mkdir -p $onnxruntime_version | 49 | mkdir -p $onnxruntime_version |
| @@ -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=1.17.0 | 46 | +onnxruntime_version=1.17.1 |
| 47 | 47 | ||
| 48 | if [ ! -f $onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then | 48 | if [ ! -f $onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then |
| 49 | mkdir -p $onnxruntime_version | 49 | mkdir -p $onnxruntime_version |
| @@ -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=1.17.0 | 46 | +onnxruntime_version=1.17.1 |
| 47 | 47 | ||
| 48 | if [ ! -f $onnxruntime_version/jni/x86/libonnxruntime.so ]; then | 48 | if [ ! -f $onnxruntime_version/jni/x86/libonnxruntime.so ]; then |
| 49 | mkdir -p $onnxruntime_version | 49 | mkdir -p $onnxruntime_version |
| @@ -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.17.0/onnxruntime-linux-aarch64-static_lib-1.17.0.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-linux-aarch64-static_lib-1.17.0.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=8be35fa5d4c9cc42075bf90d1a095a44ab6bf4fc7306141aa1169fa49b382cc2") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-static_lib-1.17.1.zip") |
| 18 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-static_lib-1.17.1.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=831b9a3869501040b4399de85f34c4f170e2bcbd41881edaeb553f8dc4080985") | ||
| 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.17.0.zip | ||
| 26 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.17.0.zip | ||
| 27 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.17.0.zip | ||
| 28 | - /tmp/onnxruntime-linux-aarch64-static_lib-1.17.0.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.17.0.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.17.1.zip |
| 26 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.17.1.zip | ||
| 27 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.17.1.zip | ||
| 28 | + /tmp/onnxruntime-linux-aarch64-static_lib-1.17.1.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.17.1.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.17.0/onnxruntime-linux-aarch64-1.17.0.tgz") | ||
| 18 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-linux-aarch64-1.17.0.tgz") | ||
| 19 | -set(onnxruntime_HASH "SHA256=ee5069252f549ef94759b6b60bdf10b2dc2cd71d064a7045dd66a052f956a68b") | 17 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-aarch64-1.17.1.tgz") |
| 18 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-aarch64-1.17.1.tgz") | ||
| 19 | +set(onnxruntime_HASH "SHA256=70b6f536bb7ab5961d128e9dbd192368ac1513bffb74fe92f97aac342fbd0ac1") | ||
| 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.17.0.tgz | ||
| 26 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-1.17.0.tgz | ||
| 27 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-1.17.0.tgz | ||
| 28 | - /tmp/onnxruntime-linux-aarch64-1.17.0.tgz | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.17.0.tgz | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.17.1.tgz |
| 26 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-1.17.1.tgz | ||
| 27 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-1.17.1.tgz | ||
| 28 | + /tmp/onnxruntime-linux-aarch64-1.17.1.tgz | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.17.1.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.17.0/onnxruntime-linux-arm-static_lib-1.17.0.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-linux-arm-static_lib-1.17.0.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=36a30732b2ccebdaabfee6e1e4473ce65d90cab12c6d2136874e847baeaa1571") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-static_lib-1.17.1.zip") |
| 18 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-static_lib-1.17.1.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=3f2ba38156d2facfb732c0fe53bc1eaaf2791d9a91dd240380e3d53716798b09") | ||
| 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.17.0.zip | ||
| 26 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.17.0.zip | ||
| 27 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.17.0.zip | ||
| 28 | - /tmp/onnxruntime-linux-arm-static_lib-1.17.0.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.17.0.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.17.1.zip |
| 26 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.17.1.zip | ||
| 27 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.17.1.zip | ||
| 28 | + /tmp/onnxruntime-linux-arm-static_lib-1.17.1.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.17.1.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.17.0/onnxruntime-linux-arm-1.17.0.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-linux-arm-1.17.0.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=6bdddba15193336ed26b7fbcc7e487f774cf52c8917899cc5b1d214089e6e855") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1.zip") |
| 18 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=08eed09b35a015fbf3a068baf6388a3b447d24dec62b75cd591a01179d0bfe7b") | ||
| 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.17.0.zip | ||
| 26 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.17.0.zip | ||
| 27 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.17.0.zip | ||
| 28 | - /tmp/onnxruntime-linux-arm-1.17.0.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.0.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.17.1.zip |
| 26 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.17.1.zip | ||
| 27 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.17.1.zip | ||
| 28 | + /tmp/onnxruntime-linux-arm-1.17.1.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.1.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.17.0/onnxruntime-linux-x64-gpu-1.17.0.tgz") | ||
| 22 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-linux-x64-gpu-1.17.0.tgz") | ||
| 23 | -set(onnxruntime_HASH "SHA256=27cfa22af7301868b55220f8733361889286b30be0569a8f46abb63e90342180") | 21 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1.tgz") |
| 22 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1.tgz") | ||
| 23 | +set(onnxruntime_HASH "SHA256=613c53745ea4960ed368f6b3ab673558bb8561c84a8fa781b4ea7fb4a4340be4") | ||
| 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.17.0.tgz | ||
| 30 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.17.0.tgz | ||
| 31 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.17.0.tgz | ||
| 32 | - /tmp/onnxruntime-linux-x64-gpu-1.17.0.tgz | ||
| 33 | - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.17.0.tgz | 29 | + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.17.1.tgz |
| 30 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.17.1.tgz | ||
| 31 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.17.1.tgz | ||
| 32 | + /tmp/onnxruntime-linux-x64-gpu-1.17.1.tgz | ||
| 33 | + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.17.1.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.17.0/onnxruntime-linux-x64-static_lib-1.17.0-gcc-8.zip") | ||
| 18 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-linux-x64-static_lib-1.17.0-gcc-8.zip") | ||
| 19 | -set(onnxruntime_HASH "SHA256=4217302eac0d645b4c2b5fa13d1627c0384d2531615b4a51a52326c01568cc0c") | 17 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.zip") |
| 18 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.zip") | ||
| 19 | +set(onnxruntime_HASH "SHA256=44377e9b7eef618afd10216a597a4d2a09a74727cbc5bdd7d86ca2b6e00a28cb") | ||
| 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.17.0-gcc-8.zip | ||
| 26 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.17.0-gcc-8.zip | ||
| 27 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.17.0-gcc-8.zip | ||
| 28 | - /tmp/onnxruntime-linux-x64-static_lib-1.17.0-gcc-8.zip | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.17.0-gcc-8.zip | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.zip |
| 26 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.zip | ||
| 27 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.zip | ||
| 28 | + /tmp/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.zip | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.17.1-gcc-8.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.17.0/onnxruntime-linux-x64-1.17.0.tgz") | ||
| 18 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-linux-x64-1.17.0.tgz") | ||
| 19 | -set(onnxruntime_HASH "SHA256=efc344d54d1969446ff5d3e55b54e205c6579c06333ecf1d34a04215eefae7c6") | 17 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-x64-1.17.1.tgz") |
| 18 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-linux-x64-1.17.1.tgz") | ||
| 19 | +set(onnxruntime_HASH "SHA256=89b153af88746665909c758a06797175ae366280cbf25502c41eb5955f9a555e") | ||
| 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.17.0.tgz | ||
| 26 | - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-1.17.0.tgz | ||
| 27 | - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-1.17.0.tgz | ||
| 28 | - /tmp/onnxruntime-linux-x64-1.17.0.tgz | ||
| 29 | - /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.17.0.tgz | 25 | + $ENV{HOME}/Downloads/onnxruntime-linux-x64-1.17.1.tgz |
| 26 | + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-1.17.1.tgz | ||
| 27 | + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-1.17.1.tgz | ||
| 28 | + /tmp/onnxruntime-linux-x64-1.17.1.tgz | ||
| 29 | + /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.17.1.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.17.0/onnxruntime-osx-arm64-static_lib-1.17.0.zip") | ||
| 16 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-osx-arm64-static_lib-1.17.0.zip") | ||
| 17 | -set(onnxruntime_HASH "SHA256=07798f7c91164e6870c438a3a1aeae0768b568bcefd71a3416a4c7a42837e31a") | 15 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip") |
| 16 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip") | ||
| 17 | +set(onnxruntime_HASH "SHA256=b88a4017251c159fea005aefe836bd0cf4d0bc7454e2810784f84a42143f17eb") | ||
| 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.17.0.zip | ||
| 24 | - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.17.0.zip | ||
| 25 | - ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.17.0.zip | ||
| 26 | - /tmp/onnxruntime-osx-arm64-static_lib-1.17.0.zip | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.17.1.zip |
| 24 | + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.17.1.zip | ||
| 25 | + ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.17.1.zip | ||
| 26 | + /tmp/onnxruntime-osx-arm64-static_lib-1.17.1.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.17.0/onnxruntime-osx-arm64-1.17.0.tgz") | ||
| 16 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-osx-arm64-1.17.0.tgz") | ||
| 17 | -set(onnxruntime_HASH "SHA256=f72a2bcca40e2650756c6b96c69ef031236aaab1b98673e744da4eef0c4bddbd") | 15 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz") |
| 16 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz") | ||
| 17 | +set(onnxruntime_HASH "SHA256=89566f424624a7ad9a7d9d5e413c44b9639a994d7171cf409901d125b16e2bb3") | ||
| 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.17.0.tgz | ||
| 24 | - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.17.0.tgz | ||
| 25 | - ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.17.0.tgz | ||
| 26 | - /tmp/onnxruntime-osx-arm64-1.17.0.tgz | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.17.1.tgz |
| 24 | + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.17.1.tgz | ||
| 25 | + ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.17.1.tgz | ||
| 26 | + /tmp/onnxruntime-osx-arm64-1.17.1.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.17.0/onnxruntime-osx-universal2-static_lib-1.17.0.zip") | ||
| 17 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-osx-universal2-static_lib-1.17.0.zip") | ||
| 18 | -set(onnxruntime_HASH "SHA256=f5b0367e1be12e8697b34f41a0cec8dc92fc6c445bd5f39865d725e873ad0550") | 16 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip") |
| 17 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip") | ||
| 18 | +set(onnxruntime_HASH "SHA256=45599dbd2fb9dd52d6505930c0e82ca165391e222a68f5606b9ea9d4f3922e15") | ||
| 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.17.0.zip | ||
| 25 | - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.17.0.zip | ||
| 26 | - ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.17.0.zip | ||
| 27 | - /tmp/onnxruntime-osx-universal2-static_lib-1.17.0.zip | 24 | + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.17.1.zip |
| 25 | + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.17.1.zip | ||
| 26 | + ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.17.1.zip | ||
| 27 | + /tmp/onnxruntime-osx-universal2-static_lib-1.17.1.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.17.0/onnxruntime-osx-universal2-1.17.0.tgz") | ||
| 17 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-osx-universal2-1.17.0.tgz") | ||
| 18 | -set(onnxruntime_HASH "SHA256=d6c81efc9be29d504d5f4cc01fec1317861b0ab34f172ad5e6198b486fa43cfd") | 16 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz") |
| 17 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz") | ||
| 18 | +set(onnxruntime_HASH "SHA256=9fa57fa6f202a373599377ef75064ae568fda8da838632b26a86024c7378d306") | ||
| 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.17.0.tgz | ||
| 25 | - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.17.0.tgz | ||
| 26 | - ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.17.0.tgz | ||
| 27 | - /tmp/onnxruntime-osx-universal2-1.17.0.tgz | 24 | + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.17.1.tgz |
| 25 | + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.17.1.tgz | ||
| 26 | + ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.17.1.tgz | ||
| 27 | + /tmp/onnxruntime-osx-universal2-1.17.1.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.17.0/onnxruntime-osx-x86_64-static_lib-1.17.0.zip") | ||
| 16 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-osx-x86_64-static_lib-1.17.0.zip") | ||
| 17 | -set(onnxruntime_HASH "SHA256=280c68f8ebb3d2c6ccb62b07192d888690dfa6e65abe92b97c85cbadd846d931") | 15 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip") |
| 16 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip") | ||
| 17 | +set(onnxruntime_HASH "SHA256=5ff8efb97e50e257943c6c588328d2c57b649278098d3b468036f02755b60903") | ||
| 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.17.0.zip | ||
| 24 | - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.0.zip | ||
| 25 | - ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.0.zip | ||
| 26 | - /tmp/onnxruntime-osx-x86_64-static_lib-1.17.0.zip | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.17.1.zip |
| 24 | + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.1.zip | ||
| 25 | + ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.1.zip | ||
| 26 | + /tmp/onnxruntime-osx-x86_64-static_lib-1.17.1.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.17.0/onnxruntime-osx-x86_64-1.17.0.tgz") | ||
| 16 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-osx-x86_64-1.17.0.tgz") | ||
| 17 | -set(onnxruntime_HASH "SHA256=b87b2febef24e5645e13859d176e76473124325a0b1526baf7f68b4aa1eb1b49") | 15 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz") |
| 16 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz") | ||
| 17 | +set(onnxruntime_HASH "SHA256=86c6b6896434084ff5086eebc4e9ea90be1ed4d46743f92864f46ee43e7b5059") | ||
| 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.17.0.tgz | ||
| 24 | - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.17.0.tgz | ||
| 25 | - ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.17.0.tgz | ||
| 26 | - /tmp/onnxruntime-osx-x86_64-1.17.0.tgz | 23 | + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.17.1.tgz |
| 24 | + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz | ||
| 25 | + ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz | ||
| 26 | + /tmp/onnxruntime-osx-x86_64-1.17.1.tgz | ||
| 27 | ) | 27 | ) |
| 28 | 28 | ||
| 29 | foreach(f IN LISTS possible_file_locations) | 29 | foreach(f IN LISTS possible_file_locations) |
| @@ -10,19 +10,19 @@ if(BUILD_SHARED_LIBS) | @@ -10,19 +10,19 @@ if(BUILD_SHARED_LIBS) | ||
| 10 | message(FATAL_ERROR "BUILD_SHARED_LIBS should be OFF for WebAssembly") | 10 | message(FATAL_ERROR "BUILD_SHARED_LIBS should be OFF for WebAssembly") |
| 11 | endif() | 11 | endif() |
| 12 | 12 | ||
| 13 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-wasm-static_lib-simd-1.17.0.zip") | ||
| 14 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-wasm-static_lib-simd-1.17.0.zip") | ||
| 15 | -set(onnxruntime_HASH "SHA256=0ee6120d2ade093eff731af792fd137ac2db580eb2dc5b8bf39e0897b0d7afd9") | 13 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-wasm-static_lib-simd-1.17.1.zip") |
| 14 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-wasm-static_lib-simd-1.17.1.zip") | ||
| 15 | +set(onnxruntime_HASH "SHA256=8f07778e4233cf5a61a9d0795d90c5497177fbe8a46b701fda2d8d4e2b11cef8") | ||
| 16 | 16 | ||
| 17 | # If you don't have access to the Internet, | 17 | # If you don't have access to the Internet, |
| 18 | # please download onnxruntime to one of the following locations. | 18 | # please download onnxruntime to one of the following locations. |
| 19 | # You can add more if you want. | 19 | # You can add more if you want. |
| 20 | set(possible_file_locations | 20 | set(possible_file_locations |
| 21 | - $ENV{HOME}/Downloads/onnxruntime-wasm-static_lib-simd-1.17.0.zip | ||
| 22 | - ${CMAKE_SOURCE_DIR}/onnxruntime-wasm-static_lib-simd-1.17.0.zip | ||
| 23 | - ${CMAKE_BINARY_DIR}/onnxruntime-wasm-static_lib-simd-1.17.0.zip | ||
| 24 | - /tmp/onnxruntime-wasm-static_lib-simd-1.17.0.zip | ||
| 25 | - /star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.17.0.zip | 21 | + $ENV{HOME}/Downloads/onnxruntime-wasm-static_lib-simd-1.17.1.zip |
| 22 | + ${CMAKE_SOURCE_DIR}/onnxruntime-wasm-static_lib-simd-1.17.1.zip | ||
| 23 | + ${CMAKE_BINARY_DIR}/onnxruntime-wasm-static_lib-simd-1.17.1.zip | ||
| 24 | + /tmp/onnxruntime-wasm-static_lib-simd-1.17.1.zip | ||
| 25 | + /star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.17.1.zip | ||
| 26 | ) | 26 | ) |
| 27 | 27 | ||
| 28 | foreach(f IN LISTS possible_file_locations) | 28 | 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.17.0/onnxruntime-win-x64-gpu-1.17.0.zip") | ||
| 23 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-win-x64-gpu-1.17.0.zip") | ||
| 24 | -set(onnxruntime_HASH "SHA256=3c90a38769e2f7bdb088c00410de4895b07b7d53a7c80955f18989775c2a25e7") | 22 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip") |
| 23 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip") | ||
| 24 | +set(onnxruntime_HASH "SHA256=b7a66f50ad146c2ccb43471d2d3b5ad78084c2d4ddbd3ea82d65f86c867408b2") | ||
| 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.17.0.zip | ||
| 31 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.17.0.zip | ||
| 32 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-gpu-1.17.0.zip | ||
| 33 | - /tmp/onnxruntime-win-x64-gpu-1.17.0.zip | 30 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.17.1.zip |
| 31 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.17.1.zip | ||
| 32 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-gpu-1.17.1.zip | ||
| 33 | + /tmp/onnxruntime-win-x64-gpu-1.17.1.zip | ||
| 34 | ) | 34 | ) |
| 35 | 35 | ||
| 36 | foreach(f IN LISTS possible_file_locations) | 36 | foreach(f IN LISTS possible_file_locations) |
| @@ -15,14 +15,14 @@ if(BUILD_SHARED_LIBS) | @@ -15,14 +15,14 @@ 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.17.0/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2") | ||
| 19 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2") | 18 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") |
| 19 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") | ||
| 20 | if(CMAKE_BUILD_TYPE STREQUAL Debug) | 20 | if(CMAKE_BUILD_TYPE STREQUAL Debug) |
| 21 | - set(onnxruntime_HASH "SHA256=daef674f160044cf9f4c27d615eaa032f93c4ed6b8d2753bb91b4b37ba40349f") | 21 | + set(onnxruntime_HASH "SHA256=ecc68d914541c3b6ebc36148af63fe2a6af0f4f955b35199d612698d23169fa5") |
| 22 | elseif(CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo) | 22 | elseif(CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo) |
| 23 | - set(onnxruntime_HASH "SHA256=3b580429702e6f471b0899f4f1eede68c0c394aa01cd00376562c2a2e8224d72") | 23 | + set(onnxruntime_HASH "SHA256=7cbe58273e55d033568f84fb16d220cea4e25ec29eb7db405c4ac7b6e41f2dfa") |
| 24 | elseif(CMAKE_BUILD_TYPE STREQUAL MinSizeRel) | 24 | elseif(CMAKE_BUILD_TYPE STREQUAL MinSizeRel) |
| 25 | - set(onnxruntime_HASH "SHA256=2777b1a01355b94760388eb48dbf9900f5decf2a0bd358418806138a687db6f0") | 25 | + set(onnxruntime_HASH "SHA256=9eb3adf0f6ac3b0e9f118e0d9e686f50fc651394e0b0cc569275af6e3ffed0e0") |
| 26 | else() | 26 | else() |
| 27 | message(FATAL_ERROR "This file is for building a debug version on Windows x64. Given ${CMAKE_BUILD_TYPE}") | 27 | message(FATAL_ERROR "This file is for building a debug version on Windows x64. Given ${CMAKE_BUILD_TYPE}") |
| 28 | endif() | 28 | endif() |
| @@ -31,10 +31,10 @@ endif() | @@ -31,10 +31,10 @@ endif() | ||
| 31 | # please download onnxruntime to one of the following locations. | 31 | # please download onnxruntime to one of the following locations. |
| 32 | # You can add more if you want. | 32 | # You can add more if you want. |
| 33 | set(possible_file_locations | 33 | set(possible_file_locations |
| 34 | - $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | ||
| 35 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | ||
| 36 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | ||
| 37 | - /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | 34 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 |
| 35 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 | ||
| 36 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 | ||
| 37 | + /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 | ||
| 38 | ) | 38 | ) |
| 39 | 39 | ||
| 40 | foreach(f IN LISTS possible_file_locations) | 40 | foreach(f IN LISTS possible_file_locations) |
| @@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release) | @@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release) | ||
| 19 | message(FATAL_ERROR "This file is for building a release version on Windows x64") | 19 | message(FATAL_ERROR "This file is for building a release version on Windows x64") |
| 20 | endif() | 20 | endif() |
| 21 | 21 | ||
| 22 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x64-static_lib-1.17.0.tar.bz2") | ||
| 23 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x64-static_lib-1.17.0.tar.bz2") | ||
| 24 | -set(onnxruntime_HASH "SHA256=7ff33b989fbe32546d694284d46653fd4c38f47155105ec14907e6d3cd4b01bb") | 22 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2") |
| 23 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2") | ||
| 24 | +set(onnxruntime_HASH "SHA256=42a0c02fda945d1d72433b2a7cdb2187d51cb4d7f3af462c6ae07b25314d5fb3") | ||
| 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-static_lib-1.17.0.tar.bz2 | ||
| 31 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.17.0.tar.bz2 | ||
| 32 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.17.0.tar.bz2 | ||
| 33 | - /tmp/onnxruntime-win-x64-static_lib-1.17.0.tar.bz2 | 30 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 |
| 31 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 | ||
| 32 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 | ||
| 33 | + /tmp/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 | ||
| 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(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.17.0/onnxruntime-win-x64-1.17.0.zip") | ||
| 19 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-win-x64-1.17.0.zip") | ||
| 20 | -set(onnxruntime_HASH "SHA256=b0436634108c001e2284cb685646047a7b088715b64c05e39ee8a1a8930776a9") | 18 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-1.17.1.zip") |
| 19 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-1.17.1.zip") | ||
| 20 | +set(onnxruntime_HASH "SHA256=4802af9598db02153d7da39432a48823ff69b2fb4b59155461937f20782aa91c") | ||
| 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.17.0.zip | ||
| 27 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-1.17.0.zip | ||
| 28 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-1.17.0.zip | ||
| 29 | - /tmp/onnxruntime-win-x64-1.17.0.zip | 26 | + $ENV{HOME}/Downloads/onnxruntime-win-x64-1.17.1.zip |
| 27 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-1.17.1.zip | ||
| 28 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-1.17.1.zip | ||
| 29 | + /tmp/onnxruntime-win-x64-1.17.1.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -16,14 +16,14 @@ if(BUILD_SHARED_LIBS) | @@ -16,14 +16,14 @@ if(BUILD_SHARED_LIBS) | ||
| 16 | endif() | 16 | endif() |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2") | ||
| 20 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2") | 19 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") |
| 20 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") | ||
| 21 | if(CMAKE_BUILD_TYPE STREQUAL Debug) | 21 | if(CMAKE_BUILD_TYPE STREQUAL Debug) |
| 22 | - set(onnxruntime_HASH "SHA256=7ebf676b4cae50ae4c203ca54ae2341d7c7aeae66a965a85610b254d24effee3") | 22 | + set(onnxruntime_HASH "SHA256=b08b223fe09a5640472eec487ff42e4df6bf726e8aba9de40f443a1fabea3334") |
| 23 | elseif(CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo) | 23 | elseif(CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo) |
| 24 | - set(onnxruntime_HASH "SHA256=bcb1dd68643baf011dc519f938c61b90556f354c6e6ce801e3f08a350d51b689") | 24 | + set(onnxruntime_HASH "SHA256=215c68d4cf07fab47434059544f4b3e1885bb68149fc7ce5b78a9feb08cf6baa") |
| 25 | elseif(CMAKE_BUILD_TYPE STREQUAL MinSizeRel) | 25 | elseif(CMAKE_BUILD_TYPE STREQUAL MinSizeRel) |
| 26 | - set(onnxruntime_HASH "SHA256=a73a42cbff851b1ee2ec037dd3f4254978516252bc353a7ce86d12030ba73dec") | 26 | + set(onnxruntime_HASH "SHA256=af6ff6f6a7ca6fb9f037bdd1cbd9b973921d069f7fce69833627ce04674bf579") |
| 27 | else() | 27 | else() |
| 28 | message(FATAL_ERROR "This file is for building a debug version on Windows x86. Given ${CMAKE_BUILD_TYPE}") | 28 | message(FATAL_ERROR "This file is for building a debug version on Windows x86. Given ${CMAKE_BUILD_TYPE}") |
| 29 | endif() | 29 | endif() |
| @@ -32,10 +32,10 @@ endif() | @@ -32,10 +32,10 @@ endif() | ||
| 32 | # please download onnxruntime to one of the following locations. | 32 | # please download onnxruntime to one of the following locations. |
| 33 | # You can add more if you want. | 33 | # You can add more if you want. |
| 34 | set(possible_file_locations | 34 | set(possible_file_locations |
| 35 | - $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | ||
| 36 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | ||
| 37 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | ||
| 38 | - /tmp/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.0.tar.bz2 | 35 | + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 |
| 36 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 | ||
| 37 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 | ||
| 38 | + /tmp/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 | ||
| 39 | ) | 39 | ) |
| 40 | 40 | ||
| 41 | foreach(f IN LISTS possible_file_locations) | 41 | foreach(f IN LISTS possible_file_locations) |
| @@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release) | @@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release) | ||
| 19 | message(FATAL_ERROR "This file is for building a release version on Windows x86") | 19 | message(FATAL_ERROR "This file is for building a release version on Windows x86") |
| 20 | endif() | 20 | endif() |
| 21 | 21 | ||
| 22 | -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x86-static_lib-1.17.0.tar.bz2") | ||
| 23 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-win-x86-static_lib-1.17.0.tar.bz2") | ||
| 24 | -set(onnxruntime_HASH "SHA256=3c40c53fef937452bf6cfbac1584875d5627bd908ca731d120642112526c8352") | 22 | +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2") |
| 23 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2") | ||
| 24 | +set(onnxruntime_HASH "SHA256=52375d3fabc7b437c955a664bfeb9cb7a6391f5219c4b7d3b87ff690416d4b9e") | ||
| 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-x86-static_lib-1.17.0.tar.bz2 | ||
| 31 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.17.0.tar.bz2 | ||
| 32 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.17.0.tar.bz2 | ||
| 33 | - /tmp/onnxruntime-win-x86-static_lib-1.17.0.tar.bz2 | 30 | + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 |
| 31 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 | ||
| 32 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 | ||
| 33 | + /tmp/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 | ||
| 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(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.17.0/onnxruntime-win-x86-1.17.0.zip") | ||
| 19 | -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.0/onnxruntime-win-x86-1.17.0.zip") | ||
| 20 | -set(onnxruntime_HASH "SHA256=3f3214f99165d3282cc5647c5a18451aaaaf326599c7e98913ce6c50e50c6463") | 18 | +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x86-1.17.1.zip") |
| 19 | +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x86-1.17.1.zip") | ||
| 20 | +set(onnxruntime_HASH "SHA256=9404130825474bd36b2538ed925d6b5f2cf1fb6a443f3e125054ae3470019291") | ||
| 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.17.0.zip | ||
| 27 | - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.17.0.zip | ||
| 28 | - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.17.0.zip | ||
| 29 | - /tmp/onnxruntime-win-x86-1.17.0.zip | 26 | + $ENV{HOME}/Downloads/onnxruntime-win-x86-1.17.1.zip |
| 27 | + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.17.1.zip | ||
| 28 | + ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.17.1.zip | ||
| 29 | + /tmp/onnxruntime-win-x86-1.17.1.zip | ||
| 30 | ) | 30 | ) |
| 31 | 31 | ||
| 32 | foreach(f IN LISTS possible_file_locations) | 32 | foreach(f IN LISTS possible_file_locations) |
| @@ -36,7 +36,7 @@ def process_linux(s): | @@ -36,7 +36,7 @@ def process_linux(s): | ||
| 36 | "libespeak-ng.so", | 36 | "libespeak-ng.so", |
| 37 | "libkaldi-decoder-core.so", | 37 | "libkaldi-decoder-core.so", |
| 38 | "libkaldi-native-fbank-core.so", | 38 | "libkaldi-native-fbank-core.so", |
| 39 | - "libonnxruntime.so.1.17.0", | 39 | + "libonnxruntime.so.1.17.1", |
| 40 | "libpiper_phonemize.so.1", | 40 | "libpiper_phonemize.so.1", |
| 41 | "libsherpa-onnx-c-api.so", | 41 | "libsherpa-onnx-c-api.so", |
| 42 | "libsherpa-onnx-core.so", | 42 | "libsherpa-onnx-core.so", |
| @@ -64,7 +64,7 @@ def process_macos(s): | @@ -64,7 +64,7 @@ def process_macos(s): | ||
| 64 | "libespeak-ng.dylib", | 64 | "libespeak-ng.dylib", |
| 65 | "libkaldi-decoder-core.dylib", | 65 | "libkaldi-decoder-core.dylib", |
| 66 | "libkaldi-native-fbank-core.dylib", | 66 | "libkaldi-native-fbank-core.dylib", |
| 67 | - "libonnxruntime.1.17.0.dylib", | 67 | + "libonnxruntime.1.17.1.dylib", |
| 68 | "libpiper_phonemize.1.dylib", | 68 | "libpiper_phonemize.1.dylib", |
| 69 | "libsherpa-onnx-c-api.dylib", | 69 | "libsherpa-onnx-c-api.dylib", |
| 70 | "libsherpa-onnx-core.dylib", | 70 | "libsherpa-onnx-core.dylib", |
-
请 注册 或 登录 后发表评论