From cca744e34edd5999e884a3e107117dc020fcf441 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Wed, 1 Nov 2023 16:23:31 +0800 Subject: [PATCH] Update to onnxruntime v1.16.1 (#406) --- CMakeLists.txt | 2 +- build-android-arm64-v8a.sh | 2 +- build-android-armv7-eabi.sh | 2 +- build-android-x86-64.sh | 2 +- build-android-x86.sh | 2 +- build-ios.sh | 2 +- c-api-examples/Makefile | 2 ++ cmake/onnxruntime-linux-aarch64-static.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-aarch64.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-arm-static.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-arm.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-x86_64-gpu.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-x86_64-static.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-x86_64.cmake | 16 ++++++++-------- cmake/onnxruntime-osx-arm64-static.cmake | 14 +++++++------- cmake/onnxruntime-osx-arm64.cmake | 14 +++++++------- cmake/onnxruntime-osx-universal-static.cmake | 14 +++++++------- cmake/onnxruntime-osx-universal.cmake | 14 +++++++------- cmake/onnxruntime-osx-x86_64-static.cmake | 14 +++++++------- cmake/onnxruntime-osx-x86_64.cmake | 14 +++++++------- cmake/onnxruntime-win-x64-gpu.cmake | 14 +++++++------- cmake/onnxruntime-win-x64-static.cmake | 14 +++++++------- cmake/onnxruntime-win-x64.cmake | 14 +++++++------- cmake/onnxruntime-win-x86-static.cmake | 14 +++++++------- cmake/onnxruntime-win-x86.cmake | 14 +++++++------- scripts/dotnet/generate.py | 4 ++-- 26 files changed, 143 insertions(+), 141 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ecd32c9b..b2a66066e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -184,7 +184,7 @@ message(STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}") if(NOT BUILD_SHARED_LIBS) if(APPLE) - set(SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS "-lc++") + set(SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS "-lc++ -framework Foundation") endif() if(UNIX AND NOT APPLE) diff --git a/build-android-arm64-v8a.sh b/build-android-arm64-v8a.sh index 20954652a..3e2042333 100755 --- a/build-android-arm64-v8a.sh +++ b/build-android-arm64-v8a.sh @@ -42,7 +42,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=v1.16.0 +onnxruntime_version=v1.16.1 if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then if [ ! -d android-onnxruntime-libs ]; then diff --git a/build-android-armv7-eabi.sh b/build-android-armv7-eabi.sh index 2473efbfb..185776f9b 100755 --- a/build-android-armv7-eabi.sh +++ b/build-android-armv7-eabi.sh @@ -43,7 +43,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=v1.16.0 +onnxruntime_version=v1.16.1 if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then if [ ! -d android-onnxruntime-libs ]; then diff --git a/build-android-x86-64.sh b/build-android-x86-64.sh index 218155e6a..6a1aeaabd 100755 --- a/build-android-x86-64.sh +++ b/build-android-x86-64.sh @@ -43,7 +43,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=v1.16.0 +onnxruntime_version=v1.16.1 if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then if [ ! -d android-onnxruntime-libs ]; then diff --git a/build-android-x86.sh b/build-android-x86.sh index e7ea95af8..ff1023098 100755 --- a/build-android-x86.sh +++ b/build-android-x86.sh @@ -43,7 +43,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=v1.16.0 +onnxruntime_version=v1.16.1 if [ ! -f ./android-onnxruntime-libs/$onnxruntime_version/jni/x86/libonnxruntime.so ]; then if [ ! -d android-onnxruntime-libs ]; then diff --git a/build-ios.sh b/build-ios.sh index e5fa9e2a0..0af294fb2 100755 --- a/build-ios.sh +++ b/build-ios.sh @@ -5,7 +5,7 @@ set -e dir=build-ios mkdir -p $dir cd $dir -onnxruntime_version=1.16.0 +onnxruntime_version=1.16.1 if [ ! -f ios-onnxruntime/$onnxruntime_version/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then if [ ! -d ios-onnxruntime ]; then diff --git a/c-api-examples/Makefile b/c-api-examples/Makefile index 767e0c5b0..7e9f2a916 100644 --- a/c-api-examples/Makefile +++ b/c-api-examples/Makefile @@ -5,6 +5,8 @@ CFLAGS := -I ../ -I ../build/_deps/cargs-src/include/ LDFLAGS := -L ../build/lib LDFLAGS += -L ../build/_deps/onnxruntime-src/lib LDFLAGS += -lsherpa-onnx-c-api -lsherpa-onnx-core -lonnxruntime -lkaldi-native-fbank-core -lkaldi-decoder-core -lsherpa-onnx-kaldifst-core -lsherpa-onnx-fst -lcargs +LDFLAGS += -framework Foundation +LDFLAGS += -lc++ LDFLAGS += -Wl,-rpath,${CUR_DIR}/../build/lib LDFLAGS += -Wl,-rpath,${CUR_DIR}/../build/_deps/onnxruntime-src/lib diff --git a/cmake/onnxruntime-linux-aarch64-static.cmake b/cmake/onnxruntime-linux-aarch64-static.cmake index c9ef6f3fc..0ca5643b9 100644 --- a/cmake/onnxruntime-linux-aarch64-static.cmake +++ b/cmake/onnxruntime-linux-aarch64-static.cmake @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-aarch64-static_lib-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-static_lib-1.16.0.zip") -set(onnxruntime_HASH "SHA256=ddcb4e67bcdff53eb72265a12420c71f73acc8610054e06259e9b98770136bd5") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-aarch64-static_lib-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-static_lib-1.16.1.zip") +set(onnxruntime_HASH "SHA256=9b25c41fc2158b345744984d154ca975c8a772c0eb90a0ccfbe2be147b438ae3") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.0.zip - /tmp/onnxruntime-linux-aarch64-static_lib-1.16.0.zip - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.1.zip + /tmp/onnxruntime-linux-aarch64-static_lib-1.16.1.zip + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-aarch64.cmake b/cmake/onnxruntime-linux-aarch64.cmake index cadc9ade7..c41962724 100644 --- a/cmake/onnxruntime-linux-aarch64.cmake +++ b/cmake/onnxruntime-linux-aarch64.cmake @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-aarch64-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-aarch64-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=8b15781d974803203c09df7d52c84d8c9f1ac7d949a97f515e4d2f5dc978d8af") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-aarch64-1.16.1.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-1.16.1.tgz") +set(onnxruntime_HASH "SHA256=f10851b62eb44f9e811134737e7c6edd15733d2c1549cb6ce403808e9c047385") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.0.tgz - /tmp/onnxruntime-linux-aarch64-1.16.0.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.16.1.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.1.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.1.tgz + /tmp/onnxruntime-linux-aarch64-1.16.1.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-arm-static.cmake b/cmake/onnxruntime-linux-arm-static.cmake index 9634485df..0e7ed160b 100644 --- a/cmake/onnxruntime-linux-arm-static.cmake +++ b/cmake/onnxruntime-linux-arm-static.cmake @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-arm-static_lib-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.16.0.zip") -set(onnxruntime_HASH "SHA256=d2bf3d69a479ac786bf2f019e720218a74634b73cfda758ba50d0b1adef1c76a") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-arm-static_lib-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.16.1.zip") +set(onnxruntime_HASH "SHA256=7f01a4b025a2ae3bececd2ea1bbef6bdc0b5df43395f6a799123b74fa6180356") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.16.0.zip - /tmp/onnxruntime-linux-arm-static_lib-1.16.0.zip - /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.16.1.zip + /tmp/onnxruntime-linux-arm-static_lib-1.16.1.zip + /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-arm.cmake b/cmake/onnxruntime-linux-arm.cmake index 89e446c7e..d12f435b7 100644 --- a/cmake/onnxruntime-linux-arm.cmake +++ b/cmake/onnxruntime-linux-arm.cmake @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-arm-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.0.zip") -set(onnxruntime_HASH "SHA256=0a63ea99fbba3ee399d6626c36752844ae93ae19bab30e4bf00d45cc8a13da02") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-arm-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.1.zip") +set(onnxruntime_HASH "SHA256=a668be37aa2eb5370e682f7599266c767b5327c1468203c372d8ceca4be1b585") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.0.zip - /tmp/onnxruntime-linux-arm-1.16.0.zip - /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.1.zip + /tmp/onnxruntime-linux-arm-1.16.1.zip + /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-x86_64-gpu.cmake b/cmake/onnxruntime-linux-x86_64-gpu.cmake index 28fe05b69..e30ff987d 100644 --- a/cmake/onnxruntime-linux-x86_64-gpu.cmake +++ b/cmake/onnxruntime-linux-x86_64-gpu.cmake @@ -18,19 +18,19 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-gpu-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-gpu-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=f9cbf3d711f46d7e03ea43746ee9d1c7d8e82c171a4655f6591dd4d1ba1b9ec7") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-x64-gpu-1.16.1.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.16.1.tgz") +set(onnxruntime_HASH "SHA256=474d5d74b588d54aa3e167f38acc9b1b8d20c292d0db92299bdc33a81eb4492d") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.0.tgz - /tmp/onnxruntime-linux-x64-gpu-1.16.0.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.1.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.1.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.1.tgz + /tmp/onnxruntime-linux-x64-gpu-1.16.1.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-x86_64-static.cmake b/cmake/onnxruntime-linux-x86_64-static.cmake index e1fa41285..91c1b2fc6 100644 --- a/cmake/onnxruntime-linux-x86_64-static.cmake +++ b/cmake/onnxruntime-linux-x86_64-static.cmake @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-static_lib-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-static_lib-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=a36e989c9a07f12bf16f63acb2217b02a0cf4ac75aa7bc27de76ae08706a5c1f") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-x64-static_lib-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-static_lib-1.16.1.zip") +set(onnxruntime_HASH "SHA256=0aa52fbff16ee9b165f42b7ea2ad61600d415d19681c9a9c6daca686c512cc64") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.0.tgz - /tmp/onnxruntime-linux-x64-static_lib-1.16.0.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.1.zip + /tmp/onnxruntime-linux-x64-static_lib-1.16.1.zip + /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-x86_64.cmake b/cmake/onnxruntime-linux-x86_64.cmake index 4e14a35ea..693c9798b 100644 --- a/cmake/onnxruntime-linux-x86_64.cmake +++ b/cmake/onnxruntime-linux-x86_64.cmake @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=02bcd1e4fef295dacc3b232774efeaa0a83527f439f29147c3badade4df1f6dc") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-linux-x64-1.16.1.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-1.16.1.tgz") +set(onnxruntime_HASH "SHA256=53a0f03f71587ed602e99e82773132fc634b74c2d227316fbfd4bf67181e72ed") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.0.tgz - /tmp/onnxruntime-linux-x64-1.16.0.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-x64-1.16.1.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.1.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.1.tgz + /tmp/onnxruntime-linux-x64-1.16.1.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-arm64-static.cmake b/cmake/onnxruntime-osx-arm64-static.cmake index f9e20581a..59a90dd36 100644 --- a/cmake/onnxruntime-osx-arm64-static.cmake +++ b/cmake/onnxruntime-osx-arm64-static.cmake @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-arm64-static_lib-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.16.0.zip") -set(onnxruntime_HASH "SHA256=5f99c9a51d91e751ac20fcbb73dfa31a379438381c5357fd3f37bda816934e3e") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-arm64-static_lib-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.16.1.zip") +set(onnxruntime_HASH "SHA256=2f7e9661bb01cf676f676c8d02e24a1e8e244e6f1e2a983e9a6f5f582b7e4a02") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.16.0.zip - /tmp/onnxruntime-osx-arm64-static_lib-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.16.1.zip + /tmp/onnxruntime-osx-arm64-static_lib-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-arm64.cmake b/cmake/onnxruntime-osx-arm64.cmake index eb731095f..d63e5d0b5 100644 --- a/cmake/onnxruntime-osx-arm64.cmake +++ b/cmake/onnxruntime-osx-arm64.cmake @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-arm64-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-arm64-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=fec3b70ca4f642a5c6d5c3a6f3a4eddd4c1b9281893fe2c7ae03a3086e20c316") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-arm64-1.16.1.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-1.16.1.tgz") +set(onnxruntime_HASH "SHA256=56ca6b8de3a220ea606c2067ba65d11dfa6e4f722e01ac7dc75f7152b81445e0") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.0.tgz - /tmp/onnxruntime-osx-arm64-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.16.1.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.1.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.1.tgz + /tmp/onnxruntime-osx-arm64-1.16.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-universal-static.cmake b/cmake/onnxruntime-osx-universal-static.cmake index c91f259ea..0a8fe5a41 100644 --- a/cmake/onnxruntime-osx-universal-static.cmake +++ b/cmake/onnxruntime-osx-universal-static.cmake @@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-universal2-static_lib-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.16.0.zip") -set(onnxruntime_HASH "SHA256=6df205fb519d311ff57131d35ed43374f4fe483eb665baa38bfbc00034595b35") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-universal2-static_lib-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.16.1.zip") +set(onnxruntime_HASH "SHA256=ec47c70f47a76da237c10607e5129b99230c101c132ea1ec13b90d6e36f84a89") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.16.0.zip - /tmp/onnxruntime-osx-universal2-static_lib-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.16.1.zip + /tmp/onnxruntime-osx-universal2-static_lib-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-universal.cmake b/cmake/onnxruntime-osx-universal.cmake index ccbc62c3d..cd4e18510 100644 --- a/cmake/onnxruntime-osx-universal.cmake +++ b/cmake/onnxruntime-osx-universal.cmake @@ -13,18 +13,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-universal2-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-universal2-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=e5b69ece634cf1cd5cf4b45ab478417199a5e8ab5775f6f12560e09dc5ef7749") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-universal2-1.16.1.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-1.16.1.tgz") +set(onnxruntime_HASH "SHA256=e8568a4a3f602c25ea7c3bbd2f085340dff5bb68fa7c859fd763d944105e3d76") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.0.tgz - /tmp/onnxruntime-osx-universal2-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.16.1.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.1.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.1.tgz + /tmp/onnxruntime-osx-universal2-1.16.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-x86_64-static.cmake b/cmake/onnxruntime-osx-x86_64-static.cmake index 7678552f3..c41d02098 100644 --- a/cmake/onnxruntime-osx-x86_64-static.cmake +++ b/cmake/onnxruntime-osx-x86_64-static.cmake @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-x86_64-static_lib-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.16.0.zip") -set(onnxruntime_HASH "SHA256=1686a1b6778483371d29106d8c7300a8960e3db084ab84ac4f870b7685cf5259") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-x86_64-static_lib-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.16.1.zip") +set(onnxruntime_HASH "SHA256=da7e223d975ddfc9599187d016e2fc47e6f072f2a9817c5a48d8d7f021b49fbb") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.0.zip - /tmp/onnxruntime-osx-x86_64-static_lib-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.1.zip + /tmp/onnxruntime-osx-x86_64-static_lib-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-x86_64.cmake b/cmake/onnxruntime-osx-x86_64.cmake index a88ec35a4..1ad24e534 100644 --- a/cmake/onnxruntime-osx-x86_64.cmake +++ b/cmake/onnxruntime-osx-x86_64.cmake @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-osx-x86_64-1.16.0.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-x86_64-1.16.0.tgz") -set(onnxruntime_HASH "SHA256=3d639a269af4e97a455f23cff363a709ef3a5f3e086162e65e3395c339122285") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-osx-x86_64-1.16.1.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.1.tgz") +set(onnxruntime_HASH "SHA256=0b8ae24401a8f75e1c4f75257d4eaeb1b6d44055e027df4aa4a84e67e0f9b9e3") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.0.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.0.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.0.tgz - /tmp/onnxruntime-osx-x86_64-1.16.0.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.1.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.1.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.1.tgz + /tmp/onnxruntime-osx-x86_64-1.16.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64-gpu.cmake b/cmake/onnxruntime-win-x64-gpu.cmake index 5fc7af2b5..949a94a67 100644 --- a/cmake/onnxruntime-win-x64-gpu.cmake +++ b/cmake/onnxruntime-win-x64-gpu.cmake @@ -19,18 +19,18 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.0/onnxruntime-win-x64-gpu-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x64-gpu-1.16.0.zip") -set(onnxruntime_HASH "SHA256=2a824d2a98fe7328980fcd27016fe797137f7050b047eecf3a3f6b82a24f63c1") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-win-x64-gpu-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-gpu-1.16.1.zip") +set(onnxruntime_HASH "SHA256=b841f8e8d9a0556bfc5228ff1488395fa041fafe8d16a62e25a254d000d51888") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.0.zip - /tmp/onnxruntime-win-x64-gpu-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.1.zip + /tmp/onnxruntime-win-x64-gpu-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64-static.cmake b/cmake/onnxruntime-win-x64-static.cmake index f885d6c04..e28f91f51 100644 --- a/cmake/onnxruntime-win-x64-static.cmake +++ b/cmake/onnxruntime-win-x64-static.cmake @@ -15,18 +15,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-win-x64-static_lib-1.16.0.tar.bz2") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-1.16.0.tar.bz2") -set(onnxruntime_HASH "SHA256=7b28a694178d075e6836d618613e2a0fd0046ccd9fd66bbf6a46d22e96db33b8") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2") +set(onnxruntime_HASH "SHA256=9d7ba69823a6948887d0dee3e80c8c8ce84aae3e4e151f1e96eb34ca8ba9915f") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.16.0.tar.bz2 - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.16.0.tar.bz2 - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.16.0.tar.bz2 - /tmp/onnxruntime-win-x64-static_lib-1.16.0.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 + /tmp/onnxruntime-win-x64-static_lib-1.16.1.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64.cmake b/cmake/onnxruntime-win-x64.cmake index c88e45fa4..4ba44bc5f 100644 --- a/cmake/onnxruntime-win-x64.cmake +++ b/cmake/onnxruntime-win-x64.cmake @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.0/onnxruntime-win-x64-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x64-1.16.0.zip") -set(onnxruntime_HASH "SHA256=ce6777ecde7d4a6c9d4eab9774089fe04be1bad979323ae502e667b95222e08f") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-win-x64-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-1.16.1.zip") +set(onnxruntime_HASH "SHA256=05a972384c73c05bce51ffd3e15b1e78325ea9fa652573113159b5cac547ecce") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.0.zip - /tmp/onnxruntime-win-x64-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-win-x64-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.1.zip + /tmp/onnxruntime-win-x64-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x86-static.cmake b/cmake/onnxruntime-win-x86-static.cmake index 9cc34ba43..720adecde 100644 --- a/cmake/onnxruntime-win-x86-static.cmake +++ b/cmake/onnxruntime-win-x86-static.cmake @@ -15,18 +15,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-win-x86-static_lib-1.16.0.tar.bz2") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static_lib-1.16.0.tar.bz2") -set(onnxruntime_HASH "SHA256=fe78775b222244bbcb512631719a94336391b645edb23c314201a6991ddecb58") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.1/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2") +set(onnxruntime_HASH "SHA256=590d702f6705452567789ef862384e8ab99b039da10e7ecdc11a07d778c80ff9") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.16.0.tar.bz2 - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.16.0.tar.bz2 - ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.16.0.tar.bz2 - /tmp/onnxruntime-win-x86-static_lib-1.16.0.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 + ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 + /tmp/onnxruntime-win-x86-static_lib-1.16.1.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x86.cmake b/cmake/onnxruntime-win-x86.cmake index b8eba7ddb..0ba4a9d1a 100644 --- a/cmake/onnxruntime-win-x86.cmake +++ b/cmake/onnxruntime-win-x86.cmake @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.0/onnxruntime-win-x86-1.16.0.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x86-1.16.0.zip") -set(onnxruntime_HASH "SHA256=a1da9e0739336c826c04ab7cb63a3e7bf6ab0dda5fb8bbba17bba4cf8c7d4e20") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.1/onnxruntime-win-x86-1.16.1.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-1.16.1.zip") +set(onnxruntime_HASH "SHA256=60b476cde62d424fc9bf87ec3bf275cf40af76bdb25022581f3ecaf4af5992a1") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x86-1.16.0.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.0.zip - ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.0.zip - /tmp/onnxruntime-win-x86-1.16.0.zip + $ENV{HOME}/Downloads/onnxruntime-win-x86-1.16.1.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.1.zip + ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.1.zip + /tmp/onnxruntime-win-x86-1.16.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/scripts/dotnet/generate.py b/scripts/dotnet/generate.py index 8ced8ae84..813b8848f 100755 --- a/scripts/dotnet/generate.py +++ b/scripts/dotnet/generate.py @@ -34,7 +34,7 @@ def get_dict(): def process_linux(s): libs = [ "libkaldi-native-fbank-core.so", - "libonnxruntime.so.1.16.0", + "libonnxruntime.so.1.16.1", "libsherpa-onnx-c-api.so", "libsherpa-onnx-core.so", ] @@ -56,7 +56,7 @@ def process_linux(s): def process_macos(s): libs = [ "libkaldi-native-fbank-core.dylib", - "libonnxruntime.1.16.0.dylib", + "libonnxruntime.1.16.1.dylib", "libsherpa-onnx-c-api.dylib", "libsherpa-onnx-core.dylib", ]