Skip to content

Commit c35200d

Browse files
authored
Revert to onnxruntime 1.17.1 (#1131)
1 parent 04c2319 commit c35200d

File tree

50 files changed

+204
-199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+204
-199
lines changed

.github/workflows/test-go.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
rm ./lib/*.a
117117
rm ./lib/libonnxruntime.dylib
118118
cd lib
119-
ln -s libonnxruntime.1.18.1.dylib libonnxruntime.dylib
119+
ln -s libonnxruntime.1.17.1.dylib libonnxruntime.dylib
120120
cd ..
121121
fi
122122

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.10.15
2+
3+
* Downgrade onnxruntime from v1.18.1 to v1.17.1
4+
15
## 1.10.14
26

37
* Support whisper large v3

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ project(sherpa-onnx)
1111
# ./nodejs-addon-examples
1212
# ./dart-api-examples/
1313
# ./CHANGELOG.md
14-
set(SHERPA_ONNX_VERSION "1.10.14")
14+
set(SHERPA_ONNX_VERSION "1.10.15")
1515

1616
# Disable warning about
1717
#

build-android-arm64-v8a.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fi
4242

4343
echo "ANDROID_NDK: $ANDROID_NDK"
4444
sleep 1
45-
onnxruntime_version=1.18.0
45+
onnxruntime_version=1.17.1
4646

4747
if [ ! -f $onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then
4848
mkdir -p $onnxruntime_version

build-android-armv7-eabi.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fi
4343
echo "ANDROID_NDK: $ANDROID_NDK"
4444
sleep 1
4545

46-
onnxruntime_version=1.18.0
46+
onnxruntime_version=1.17.1
4747

4848
if [ ! -f $onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then
4949
mkdir -p $onnxruntime_version

build-android-x86-64.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fi
4343
echo "ANDROID_NDK: $ANDROID_NDK"
4444
sleep 1
4545

46-
onnxruntime_version=1.18.0
46+
onnxruntime_version=1.17.1
4747

4848
if [ ! -f $onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then
4949
mkdir -p $onnxruntime_version

build-android-x86.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fi
4343
echo "ANDROID_NDK: $ANDROID_NDK"
4444
sleep 1
4545

46-
onnxruntime_version=1.18.0
46+
onnxruntime_version=1.17.1
4747

4848
if [ ! -f $onnxruntime_version/jni/x86/libonnxruntime.so ]; then
4949
mkdir -p $onnxruntime_version

build-ios-no-tts.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
dir=build-ios-no-tts
66
mkdir -p $dir
77
cd $dir
8-
onnxruntime_version=1.18.1
8+
onnxruntime_version=1.17.1
99
onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
1010

1111
if [ ! -f $onnxruntime_dir/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then

build-ios-shared.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010
dir=build-ios-shared
1111
mkdir -p $dir
1212
cd $dir
13-
onnxruntime_version=1.18.1
13+
onnxruntime_version=1.17.1
1414
onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
1515

1616
SHERPA_ONNX_GITHUB=github.com

build-ios.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
dir=build-ios
66
mkdir -p $dir
77
cd $dir
8-
onnxruntime_version=1.18.1
8+
onnxruntime_version=1.17.1
99
onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
1010

1111
SHERPA_ONNX_GITHUB=github.com

cmake/onnxruntime-linux-aarch64-static.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

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")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
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
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-aarch64.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

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")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
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
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-arm-static.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

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")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
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
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-arm.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

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")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
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
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-x86_64-gpu.cmake

+9-8
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,20 @@ if(NOT SHERPA_ONNX_ENABLE_GPU)
1818
message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}")
1919
endif()
2020

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")
2425

2526
# If you don't have access to the Internet,
2627
# please download onnxruntime to one of the following locations.
2728
# You can add more if you want.
2829
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
3435
)
3536

3637
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-x86_64-static.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

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")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
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
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-x86_64.cmake

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

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")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
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
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-osx-arm64-static.cmake

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS)
1212
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1313
endif()
1414

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")
1818

1919
# If you don't have access to the Internet,
2020
# please download onnxruntime to one of the following locations.
2121
# You can add more if you want.
2222
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
2727
)
2828

2929
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-osx-arm64.cmake

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS)
1212
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1313
endif()
1414

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")
1818

1919
# If you don't have access to the Internet,
2020
# please download onnxruntime to one of the following locations.
2121
# You can add more if you want.
2222
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
2727
)
2828

2929
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-osx-universal-static.cmake

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS)
1313
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1414
endif()
1515

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")
1919

2020
# If you don't have access to the Internet,
2121
# please download onnxruntime to one of the following locations.
2222
# You can add more if you want.
2323
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
2828
)
2929

3030
foreach(f IN LISTS possible_file_locations)

0 commit comments

Comments
 (0)