Fangjun Kuang
Committed by GitHub

Revert to onnxruntime 1.17.1 (#1131)

正在显示 50 个修改的文件 包含 204 行增加199 行删除
@@ -116,7 +116,7 @@ jobs: @@ -116,7 +116,7 @@ jobs:
116 rm ./lib/*.a 116 rm ./lib/*.a
117 rm ./lib/libonnxruntime.dylib 117 rm ./lib/libonnxruntime.dylib
118 cd lib 118 cd lib
119 - ln -s libonnxruntime.1.18.1.dylib libonnxruntime.dylib 119 + ln -s libonnxruntime.1.17.1.dylib libonnxruntime.dylib
120 cd .. 120 cd ..
121 fi 121 fi
122 122
  1 +## 1.10.15
  2 +
  3 +* Downgrade onnxruntime from v1.18.1 to v1.17.1
  4 +
1 ## 1.10.14 5 ## 1.10.14
2 6
3 * Support whisper large v3 7 * Support whisper large v3
@@ -11,7 +11,7 @@ project(sherpa-onnx) @@ -11,7 +11,7 @@ project(sherpa-onnx)
11 # ./nodejs-addon-examples 11 # ./nodejs-addon-examples
12 # ./dart-api-examples/ 12 # ./dart-api-examples/
13 # ./CHANGELOG.md 13 # ./CHANGELOG.md
14 -set(SHERPA_ONNX_VERSION "1.10.14") 14 +set(SHERPA_ONNX_VERSION "1.10.15")
15 15
16 # Disable warning about 16 # Disable warning about
17 # 17 #
@@ -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.18.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.18.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.18.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.18.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
@@ -5,7 +5,7 @@ set -e @@ -5,7 +5,7 @@ set -e
5 dir=build-ios-no-tts 5 dir=build-ios-no-tts
6 mkdir -p $dir 6 mkdir -p $dir
7 cd $dir 7 cd $dir
8 -onnxruntime_version=1.18.1 8 +onnxruntime_version=1.17.1
9 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version 9 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
10 10
11 if [ ! -f $onnxruntime_dir/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then 11 if [ ! -f $onnxruntime_dir/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then
@@ -10,7 +10,7 @@ set -e @@ -10,7 +10,7 @@ set -e
10 dir=build-ios-shared 10 dir=build-ios-shared
11 mkdir -p $dir 11 mkdir -p $dir
12 cd $dir 12 cd $dir
13 -onnxruntime_version=1.18.1 13 +onnxruntime_version=1.17.1
14 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version 14 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
15 15
16 SHERPA_ONNX_GITHUB=github.com 16 SHERPA_ONNX_GITHUB=github.com
@@ -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.18.1 8 +onnxruntime_version=1.17.1
9 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version 9 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
10 10
11 SHERPA_ONNX_GITHUB=github.com 11 SHERPA_ONNX_GITHUB=github.com
@@ -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.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip")  
18 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip")  
19 -set(onnxruntime_HASH "SHA256=c84d068058a8a30d013ad4b7ec65c734b343191e87190faecd535acb9e8d1592") 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.18.1-glibc2_17.zip  
26 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip  
27 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip  
28 - /tmp/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip  
29 - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.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/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip")  
18 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip")  
19 -set(onnxruntime_HASH "SHA256=6db9962de2e0e451b95db071cf8a2aaa4176bf380d13ba1a91abd57fbc458e2f") 17 +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip")
  18 +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip")
  19 +set(onnxruntime_HASH "SHA256=6e0e68985f8dd1f643e5a4dbe7cd54c9e176a0cc62249c6bee0699b87fc6d4fb")
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-glibc2_17-Release-1.18.1.zip  
26 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip  
27 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip  
28 - /tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip  
29 - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip 25 + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
  26 + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
  27 + ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
  28 + /tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
  29 + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.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(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.18.1/onnxruntime-linux-arm-static_lib-1.18.1.zip")  
18 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-static_lib-1.18.1.zip")  
19 -set(onnxruntime_HASH "SHA256=c0e2b055efbafae2eacfbbe1d5fa9410b5b756555defd7b2bb918ce53af99f51") 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.18.1.zip  
26 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.18.1.zip  
27 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.18.1.zip  
28 - /tmp/onnxruntime-linux-arm-static_lib-1.18.1.zip  
29 - /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.18.1.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.18.1/onnxruntime-linux-arm-1.18.1.zip")  
18 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip")  
19 -set(onnxruntime_HASH "SHA256=4ff55cff886bb920bacf172478afe030b915eacd49665e3127454454bbb1dcde") 17 +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1-patched.zip")
  18 +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1-patched.zip")
  19 +set(onnxruntime_HASH "SHA256=4ec00f7adc7341c068babea3d0f607349655e598222d4212115ae4f52619efdb")
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.18.1.zip  
26 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.18.1.zip  
27 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.18.1.zip  
28 - /tmp/onnxruntime-linux-arm-1.18.1.zip  
29 - /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.18.1.zip 25 + $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.17.1-patched.zip
  26 + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.17.1-patched.zip
  27 + ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.17.1-patched.zip
  28 + /tmp/onnxruntime-linux-arm-1.17.1-patched.zip
  29 + /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.1-patched.zip
30 ) 30 )
31 31
32 foreach(f IN LISTS possible_file_locations) 32 foreach(f IN LISTS possible_file_locations)
@@ -18,19 +18,20 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) @@ -18,19 +18,20 @@ 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.18.1/onnxruntime-linux-x64-gpu-1.18.1.tgz")  
22 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-linux-x64-gpu-1.18.1.tgz")  
23 -set(onnxruntime_HASH "SHA256=d947af0e4311fd38012ad69dea4983e73ce5f1754da0d5b7a118603dd87b197d") 21 +
  22 +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip")
  23 +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip")
  24 +set(onnxruntime_HASH "SHA256=1261de176e8d9d4d2019f8fa8c732c6d11494f3c6e73168ab6d2cc0903f22551")
24 25
25 # If you don't have access to the Internet, 26 # If you don't have access to the Internet,
26 # please download onnxruntime to one of the following locations. 27 # please download onnxruntime to one of the following locations.
27 # You can add more if you want. 28 # You can add more if you want.
28 set(possible_file_locations 29 set(possible_file_locations
29 - $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.18.1.tgz  
30 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.18.1.tgz  
31 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.18.1.tgz  
32 - /tmp/onnxruntime-linux-x64-gpu-1.18.1.tgz  
33 - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.18.1.tgz 30 + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
  31 + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
  32 + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
  33 + /tmp/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
  34 + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
34 ) 35 )
35 36
36 foreach(f IN LISTS possible_file_locations) 37 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.18.1/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip")  
18 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip")  
19 -set(onnxruntime_HASH "SHA256=48e0691efa6b043f47f4d53e81cdcc151077c8ae4fab049fb00844ec2d61632a") 17 +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.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-glibc2_17.zip")
  19 +set(onnxruntime_HASH "SHA256=b646beeb983de843a267096d4457d832f93089f5e7264fd54b48cff207cb2068")
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.18.1-glibc2_17.zip  
26 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip  
27 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip  
28 - /tmp/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip  
29 - /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip 25 + $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
  26 + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
  27 + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
  28 + /tmp/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
  29 + /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.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.18.1/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip")  
18 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip")  
19 -set(onnxruntime_HASH "SHA256=2d15dfab33cafeed69be2c885711daac2dfb9ff305f6129a19e2c0f6561a80bf") 17 +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip")
  18 +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip")
  19 +set(onnxruntime_HASH "SHA256=cb90c51a195bdd453aaf1582f3ef63b466dafbb15c4b8a552ca4dce3769e1d1e")
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-glibc2_17-Release-1.18.1.zip  
26 - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip  
27 - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip  
28 - /tmp/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip  
29 - /star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip 25 + $ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
  26 + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
  27 + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
  28 + /tmp/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
  29 + /star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
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.18.1/onnxruntime-osx-arm64-static_lib-1.18.1.zip")  
16 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-arm64-static_lib-1.18.1.zip")  
17 -set(onnxruntime_HASH "SHA256=37e551afc97f5dd2f6eb8054c06557122b81ef714ced88173658a750a12f313d") 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.18.1.zip  
24 - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.18.1.zip  
25 - ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.18.1.zip  
26 - /tmp/onnxruntime-osx-arm64-static_lib-1.18.1.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.18.1/onnxruntime-osx-arm64-1.18.1.tgz")  
16 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-arm64-1.18.1.tgz")  
17 -set(onnxruntime_HASH "SHA256=f3356203e9b6f5023168a12db74b1060ab397f8f3ce8f5cb2c2bd9e7f1195b01") 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.18.1.tgz  
24 - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.18.1.tgz  
25 - ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.18.1.tgz  
26 - /tmp/onnxruntime-osx-arm64-1.18.1.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.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip")  
17 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip")  
18 -set(onnxruntime_HASH "SHA256=b9fd4c1c31e53a2d19bc21aa43dddc241076d7c4208137057b3728af10680d47") 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.18.1.zip  
25 - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.18.1.zip  
26 - ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.18.1.zip  
27 - /tmp/onnxruntime-osx-universal2-static_lib-1.18.1.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.18.1/onnxruntime-osx-universal2-1.18.1.tgz")  
17 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-universal2-1.18.1.tgz")  
18 -set(onnxruntime_HASH "SHA256=014f6332da3fa51926c57ca973c2d03ceebae069a537f55765848260ab4bf8f7") 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.18.1.tgz  
25 - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.18.1.tgz  
26 - ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.18.1.tgz  
27 - /tmp/onnxruntime-osx-universal2-1.18.1.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.18.1/onnxruntime-osx-x86_64-static_lib-1.18.1.zip")  
16 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-x86_64-static_lib-1.18.1.zip")  
17 -set(onnxruntime_HASH "SHA256=84b639e8a21adcbe335ba4ade3c5ad2d726f20a21e9d9a97a252fb232600c037") 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.18.1.zip  
24 - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.18.1.zip  
25 - ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.18.1.zip  
26 - /tmp/onnxruntime-osx-x86_64-static_lib-1.18.1.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.18.1/onnxruntime-osx-x86_64-1.18.1.tgz")  
16 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-x86_64-1.18.1.tgz")  
17 -set(onnxruntime_HASH "SHA256=938198521ecccd6fca4cadd627a57966de092feb6ea9ecb579437898d04ebad8") 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.18.1.tgz  
24 - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.18.1.tgz  
25 - ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.18.1.tgz  
26 - /tmp/onnxruntime-osx-x86_64-1.18.1.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.18.1/onnxruntime-wasm-static_lib-simd-1.18.1.zip")  
14 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-wasm-static_lib-simd-1.18.1.zip")  
15 -set(onnxruntime_HASH "SHA256=1cc3c10cc8405aae59b7b2cc115d8ca5382fbf6e014c15ebafacd8b457b99f81") 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.18.1.zip  
22 - ${CMAKE_SOURCE_DIR}/onnxruntime-wasm-static_lib-simd-1.18.1.zip  
23 - ${CMAKE_BINARY_DIR}/onnxruntime-wasm-static_lib-simd-1.18.1.zip  
24 - /tmp/onnxruntime-wasm-static_lib-simd-1.18.1.zip  
25 - /star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.18.1.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)
@@ -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.18.1/onnxruntime-win-arm64-1.18.1.zip")  
19 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-arm64-1.18.1.zip")  
20 -set(onnxruntime_HASH "SHA256=cba708b2e9e69f5c7f5ad899d9d2e503208936753f52194df50bb5b6275eff76") 18 +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-arm64-1.17.1.zip")
  19 +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-arm64-1.17.1.zip")
  20 +set(onnxruntime_HASH "SHA256=47782cebcab0fd7a1f0a3f0676b088c1bc0f4fbf21666f6fe57570dc362fa5a8")
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-arm64-1.18.1.zip  
27 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-arm64-1.18.1.zip  
28 - ${CMAKE_BINARY_DIR}/onnxruntime-win-arm64-1.18.1.zip  
29 - /tmp/onnxruntime-win-arm64-1.18.1.zip 26 + $ENV{HOME}/Downloads/onnxruntime-win-arm64-1.17.1.zip
  27 + ${CMAKE_SOURCE_DIR}/onnxruntime-win-arm64-1.17.1.zip
  28 + ${CMAKE_BINARY_DIR}/onnxruntime-win-arm64-1.17.1.zip
  29 + /tmp/onnxruntime-win-arm64-1.17.1.zip
30 ) 30 )
31 31
32 foreach(f IN LISTS possible_file_locations) 32 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.18.1/onnxruntime-win-x64-gpu-1.18.1.zip")  
23 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-gpu-1.18.1.zip")  
24 -set(onnxruntime_HASH "SHA256=2ea6078d7dcaa1a979b73233a7ea62f56aa75ecefe4d015e9dc45cf1bce6b53a") 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.18.1.zip  
31 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.18.1.zip  
32 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-gpu-1.18.1.zip  
33 - /tmp/onnxruntime-win-x64-gpu-1.18.1.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.18.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2")  
19 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.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=01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144") 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=f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b") 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=f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41") 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.18.1.tar.bz2  
35 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2  
36 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2  
37 - /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.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.18.1/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2")  
23 -set(onnxruntime_URL2 "https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2")  
24 -set(onnxruntime_HASH "SHA256=b0e24b77552593227e843c9f8fcade5dff2615f85945ec5a3e7adb181bb1d24a") 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.18.1.tar.bz2  
31 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2  
32 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2  
33 - /tmp/onnxruntime-win-x64-static_lib-1.18.1.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.18.1/onnxruntime-win-x64-1.18.1.zip")  
19 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-1.18.1.zip")  
20 -set(onnxruntime_HASH "SHA256=53fb7226fe3cf16001afd1eae79e35f891a20e80bd686185d62ea878e6f9b1a6") 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.18.1.zip  
27 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-1.18.1.zip  
28 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-1.18.1.zip  
29 - /tmp/onnxruntime-win-x64-1.18.1.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.18.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2")  
20 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.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=01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144") 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=f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b") 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=f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41") 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.18.1.tar.bz2  
36 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2  
37 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2  
38 - /tmp/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.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.18.1/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2")  
23 -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2")  
24 -set(onnxruntime_HASH "SHA256=ee46b46079a5cc577177a2620e9b93a9ef7fdf3b3018eca6600f697157485a8a") 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.18.1.tar.bz2  
31 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2  
32 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2  
33 - /tmp/onnxruntime-win-x86-static_lib-1.18.1.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.18.1/onnxruntime-win-x86-1.18.1.zip")  
19 -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip")  
20 -set(onnxruntime_HASH "SHA256=9e05fb69de8f324a11e869fd391f8c56919fd9d4b353a0acd9ffffcf4f8b4872") 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.18.1.zip  
27 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.18.1.zip  
28 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.18.1.zip  
29 - /tmp/onnxruntime-win-x86-1.18.1.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)
@@ -10,7 +10,7 @@ environment: @@ -10,7 +10,7 @@ environment:
10 10
11 # Add regular dependencies here. 11 # Add regular dependencies here.
12 dependencies: 12 dependencies:
13 - sherpa_onnx: ^1.10.14 13 + sherpa_onnx: ^1.10.15
14 path: ^1.9.0 14 path: ^1.9.0
15 args: ^2.5.0 15 args: ^2.5.0
16 16
@@ -11,7 +11,7 @@ environment: @@ -11,7 +11,7 @@ environment:
11 11
12 # Add regular dependencies here. 12 # Add regular dependencies here.
13 dependencies: 13 dependencies:
14 - sherpa_onnx: ^1.10.14 14 + sherpa_onnx: ^1.10.15
15 path: ^1.9.0 15 path: ^1.9.0
16 args: ^2.5.0 16 args: ^2.5.0
17 17
@@ -8,7 +8,7 @@ environment: @@ -8,7 +8,7 @@ environment:
8 8
9 # Add regular dependencies here. 9 # Add regular dependencies here.
10 dependencies: 10 dependencies:
11 - sherpa_onnx: ^1.10.14 11 + sherpa_onnx: ^1.10.15
12 path: ^1.9.0 12 path: ^1.9.0
13 args: ^2.5.0 13 args: ^2.5.0
14 14
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ^3.4.0 9 sdk: ^3.4.0
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.10.14 12 + sherpa_onnx: ^1.10.15
13 path: ^1.9.0 13 path: ^1.9.0
14 args: ^2.5.0 14 args: ^2.5.0
15 15
@@ -30,7 +30,7 @@ dependencies: @@ -30,7 +30,7 @@ dependencies:
30 record: ^5.1.0 30 record: ^5.1.0
31 url_launcher: ^6.2.6 31 url_launcher: ^6.2.6
32 32
33 - sherpa_onnx: ^1.10.14 33 + sherpa_onnx: ^1.10.15
34 # sherpa_onnx: 34 # sherpa_onnx:
35 # path: ../../flutter/sherpa_onnx 35 # path: ../../flutter/sherpa_onnx
36 36
@@ -17,7 +17,7 @@ dependencies: @@ -17,7 +17,7 @@ dependencies:
17 cupertino_icons: ^1.0.6 17 cupertino_icons: ^1.0.6
18 path_provider: ^2.1.3 18 path_provider: ^2.1.3
19 path: ^1.9.0 19 path: ^1.9.0
20 - sherpa_onnx: ^1.10.14 20 + sherpa_onnx: ^1.10.15
21 url_launcher: ^6.2.6 21 url_launcher: ^6.2.6
22 audioplayers: ^5.0.0 22 audioplayers: ^5.0.0
23 23
@@ -17,7 +17,7 @@ topics: @@ -17,7 +17,7 @@ topics:
17 - voice-activity-detection 17 - voice-activity-detection
18 18
19 # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec 19 # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
20 -version: 1.10.14 20 +version: 1.10.15
21 21
22 homepage: https://github.com/k2-fsa/sherpa-onnx 22 homepage: https://github.com/k2-fsa/sherpa-onnx
23 23
@@ -30,19 +30,19 @@ dependencies: @@ -30,19 +30,19 @@ dependencies:
30 flutter: 30 flutter:
31 sdk: flutter 31 sdk: flutter
32 32
33 - sherpa_onnx_android: ^1.10.14 33 + sherpa_onnx_android: ^1.10.15
34 # path: ../sherpa_onnx_android 34 # path: ../sherpa_onnx_android
35 35
36 - sherpa_onnx_macos: ^1.10.14 36 + sherpa_onnx_macos: ^1.10.15
37 # path: ../sherpa_onnx_macos 37 # path: ../sherpa_onnx_macos
38 38
39 - sherpa_onnx_linux: ^1.10.14 39 + sherpa_onnx_linux: ^1.10.15
40 # path: ../sherpa_onnx_linux 40 # path: ../sherpa_onnx_linux
41 # 41 #
42 - sherpa_onnx_windows: ^1.10.14 42 + sherpa_onnx_windows: ^1.10.15
43 # path: ../sherpa_onnx_windows 43 # path: ../sherpa_onnx_windows
44 44
45 - sherpa_onnx_ios: ^1.10.14 45 + sherpa_onnx_ios: ^1.10.15
46 # sherpa_onnx_ios: 46 # sherpa_onnx_ios:
47 # path: ../sherpa_onnx_ios 47 # path: ../sherpa_onnx_ios
48 48
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c 7 # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
8 Pod::Spec.new do |s| 8 Pod::Spec.new do |s|
9 s.name = 'sherpa_onnx_ios' 9 s.name = 'sherpa_onnx_ios'
10 - s.version = '1.10.14' 10 + s.version = '1.10.15'
11 s.summary = 'A new Flutter FFI plugin project.' 11 s.summary = 'A new Flutter FFI plugin project.'
12 s.description = <<-DESC 12 s.description = <<-DESC
13 A new Flutter FFI plugin project. 13 A new Flutter FFI plugin project.
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 # 4 #
5 Pod::Spec.new do |s| 5 Pod::Spec.new do |s|
6 s.name = 'sherpa_onnx_macos' 6 s.name = 'sherpa_onnx_macos'
7 - s.version = '1.10.14' 7 + s.version = '1.10.15'
8 s.summary = 'sherpa-onnx Flutter FFI plugin project.' 8 s.summary = 'sherpa-onnx Flutter FFI plugin project.'
9 s.description = <<-DESC 9 s.description = <<-DESC
10 sherpa-onnx Flutter FFI plugin project. 10 sherpa-onnx Flutter FFI plugin project.
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 C984A82729AA196100D74C52 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 57 C984A82729AA196100D74C52 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
58 C984A82929AA19AC00D74C52 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Model.swift; sourceTree = "<group>"; }; 58 C984A82929AA19AC00D74C52 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Model.swift; sourceTree = "<group>"; };
59 C984A83B29AA430B00D74C52 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; 59 C984A83B29AA430B00D74C52 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
60 - C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = "<group>"; }; 60 + C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
61 /* End PBXFileReference section */ 61 /* End PBXFileReference section */
62 62
63 /* Begin PBXFrameworksBuildPhase section */ 63 /* Begin PBXFrameworksBuildPhase section */
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 C9A2588D2AAF039D00E555CA /* Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extension.swift; sourceTree = "<group>"; }; 32 C9A2588D2AAF039D00E555CA /* Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extension.swift; sourceTree = "<group>"; };
33 C9A258922AAF057E00E555CA /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; }; 33 C9A258922AAF057E00E555CA /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; };
34 C9A258952AAF05D100E555CA /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; }; 34 C9A258952AAF05D100E555CA /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
35 - C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = "<group>"; }; 35 + C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
36 /* End PBXFileReference section */ 36 /* End PBXFileReference section */
37 37
38 /* Begin PBXFrameworksBuildPhase section */ 38 /* Begin PBXFrameworksBuildPhase section */
@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@
74 DEBB2DA22BBAAAE700864EF5 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Model.swift; path = ../../SherpaOnnx/SherpaOnnx/Model.swift; sourceTree = "<group>"; }; 74 DEBB2DA22BBAAAE700864EF5 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Model.swift; path = ../../SherpaOnnx/SherpaOnnx/Model.swift; sourceTree = "<group>"; };
75 DEBB2DA42BBAAAFD00864EF5 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; }; 75 DEBB2DA42BBAAAFD00864EF5 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; };
76 DEBB2DA72BBAAC4D00864EF5 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; }; 76 DEBB2DA72BBAAC4D00864EF5 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
77 - DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = "<group>"; }; 77 + DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
78 DEBB2DB12BBAAD0000864EF5 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; }; 78 DEBB2DB12BBAAD0000864EF5 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; };
79 /* End PBXFileReference section */ 79 /* End PBXFileReference section */
80 80
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 DE081AAE2ABFF35400E8CD63 /* UTType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UTType.swift; sourceTree = "<group>"; }; 32 DE081AAE2ABFF35400E8CD63 /* UTType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UTType.swift; sourceTree = "<group>"; };
33 DE081AB02ABFFEEE00E8CD63 /* Document.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = "<group>"; }; 33 DE081AB02ABFFEEE00E8CD63 /* Document.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = "<group>"; };
34 DE081AB22ABFFF2600E8CD63 /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; }; 34 DE081AB22ABFFF2600E8CD63 /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
35 - DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = "<group>"; }; 35 + DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
36 DE8C85A92ABF23FA00F667E3 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; }; 36 DE8C85A92ABF23FA00F667E3 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
37 DE8C85B12ABF257200F667E3 /* SpeechSegment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpeechSegment.swift; sourceTree = "<group>"; }; 37 DE8C85B12ABF257200F667E3 /* SpeechSegment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpeechSegment.swift; sourceTree = "<group>"; };
38 DEA657112ABF19730066A81D /* SherpaOnnxSubtitle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SherpaOnnxSubtitle.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 DEA657112ABF19730066A81D /* SherpaOnnxSubtitle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SherpaOnnxSubtitle.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 C9FE9FE42B0F33CD009F1003 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; }; 26 C9FE9FE42B0F33CD009F1003 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; };
27 C9FE9FE62B0F3620009F1003 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; }; 27 C9FE9FE62B0F3620009F1003 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; };
28 C9FE9FE92B0F3754009F1003 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; }; 28 C9FE9FE92B0F3754009F1003 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
29 - C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = "<group>"; }; 29 + C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
30 /* End PBXFileReference section */ 30 /* End PBXFileReference section */
31 31
32 /* Begin PBXFrameworksBuildPhase section */ 32 /* Begin PBXFrameworksBuildPhase section */
1 { 1 {
2 "dependencies": { 2 "dependencies": {
3 - "sherpa-onnx-node": "^1.10.14" 3 + "sherpa-onnx-node": "^1.10.15"
4 } 4 }
5 } 5 }
@@ -17,7 +17,7 @@ topics: @@ -17,7 +17,7 @@ topics:
17 - voice-activity-detection 17 - voice-activity-detection
18 18
19 # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx.podspec 19 # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx.podspec
20 -version: 1.10.14 20 +version: 1.10.15
21 21
22 homepage: https://github.com/k2-fsa/sherpa-onnx 22 homepage: https://github.com/k2-fsa/sherpa-onnx
23 23
@@ -56,7 +56,7 @@ def process_linux(s, rid): @@ -56,7 +56,7 @@ def process_linux(s, rid):
56 56
57 def process_macos(s, rid): 57 def process_macos(s, rid):
58 libs = [ 58 libs = [
59 - "libonnxruntime.1.18.1.dylib", 59 + "libonnxruntime.1.17.1.dylib",
60 "libsherpa-onnx-c-api.dylib", 60 "libsherpa-onnx-c-api.dylib",
61 ] 61 ]
62 prefix = f"{src_dir}/macos-{rid}/" 62 prefix = f"{src_dir}/macos-{rid}/"
@@ -90,7 +90,7 @@ function osx() { @@ -90,7 +90,7 @@ function osx() {
90 cp -v sherpa_onnx/lib/*.dylib $dst/ 90 cp -v sherpa_onnx/lib/*.dylib $dst/
91 91
92 pushd $dst 92 pushd $dst
93 - cp -v libonnxruntime.1.18.1.dylib libonnxruntime.dylib 93 + cp -v libonnxruntime.1.17.1.dylib libonnxruntime.dylib
94 popd 94 popd
95 95
96 cd .. 96 cd ..
@@ -108,7 +108,7 @@ function osx() { @@ -108,7 +108,7 @@ function osx() {
108 cp -v sherpa_onnx/lib/*.dylib $dst/ 108 cp -v sherpa_onnx/lib/*.dylib $dst/
109 109
110 pushd $dst 110 pushd $dst
111 - cp -v libonnxruntime.1.18.1.dylib libonnxruntime.dylib 111 + cp -v libonnxruntime.1.17.1.dylib libonnxruntime.dylib
112 popd 112 popd
113 113
114 cd .. 114 cd ..