From 8444d54c4e52ad287ad568f69a04e3697f886214 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 24 Nov 2023 14:39:03 +0800 Subject: [PATCH] Update to onnxruntime 1.16.3 (#446) --- 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 +- 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 +++++++------- .../SherpaOnnx2Pass.xcodeproj/project.pbxproj | 2 +- .../SherpaOnnxSubtitle.xcodeproj/project.pbxproj | 2 +- .../SherpaOnnxTts.xcodeproj/project.pbxproj | 2 +- 26 files changed, 141 insertions(+), 141 deletions(-) diff --git a/build-android-arm64-v8a.sh b/build-android-arm64-v8a.sh index 5cd779ac3..5e46aa5a6 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.2 +onnxruntime_version=v1.16.3 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 89c1f12ec..14a07bad5 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.2 +onnxruntime_version=v1.16.3 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 229b23c21..d4196a1ca 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.2 +onnxruntime_version=v1.16.3 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 2c9c31fc5..2eb6fecc4 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.2 +onnxruntime_version=v1.16.3 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 338e182a4..447d7fbb6 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.2 +onnxruntime_version=1.16.3 if [ ! -f ios-onnxruntime/$onnxruntime_version/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then if [ ! -d ios-onnxruntime ]; then diff --git a/cmake/onnxruntime-linux-aarch64-static.cmake b/cmake/onnxruntime-linux-aarch64-static.cmake index 1e379b798..c31f797b4 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.2/onnxruntime-linux-aarch64-static_lib-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-static_lib-1.16.2.zip") -set(onnxruntime_HASH "SHA256=47c3f93612d978900eee8201ab36ee16bfc63b2ccbb216014bea7fdf5930c526") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-linux-aarch64-static_lib-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-static_lib-1.16.3.zip") +set(onnxruntime_HASH "SHA256=c46dbb2799605684193d8f3c1a4377c3478950ccdb7cc7bf49b914a54cde69ca") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.2.zip - /tmp/onnxruntime-linux-aarch64-static_lib-1.16.2.zip - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.16.3.zip + /tmp/onnxruntime-linux-aarch64-static_lib-1.16.3.zip + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.16.3.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-aarch64.cmake b/cmake/onnxruntime-linux-aarch64.cmake index 7527d4c0d..8ea12e561 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/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-linux-aarch64-1.16.2.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-1.16.2.tgz") -set(onnxruntime_HASH "SHA256=4c1a21bd9c3acc17d4176a09b89602954f511a97d489be0cfdf356ebd789c409") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-linux-aarch64-1.16.3.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-aarch64-1.16.3.tgz") +set(onnxruntime_HASH "SHA256=784dbef93b40196aa668d29d78294a81c0d21361d36530b817bb24d87e8730e8") # 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.2.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.2.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.2.tgz - /tmp/onnxruntime-linux-aarch64-1.16.2.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.2.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.16.3.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.3.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.3.tgz + /tmp/onnxruntime-linux-aarch64-1.16.3.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.3.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 8c5d3f112..f955c1dc6 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.2/onnxruntime-linux-arm-static_lib-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.16.2.zip") -set(onnxruntime_HASH "SHA256=688cadd403c41975d29a9659e2ffcbbcdb5c60de281084a7a93170be5b33e60e") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-linux-arm-static_lib-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.16.3.zip") +set(onnxruntime_HASH "SHA256=f5808e40f89c151b1b11bb01041d8b011850af5038758875863fc86cf6c1d965") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.16.2.zip - /tmp/onnxruntime-linux-arm-static_lib-1.16.2.zip - /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.16.3.zip + /tmp/onnxruntime-linux-arm-static_lib-1.16.3.zip + /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.16.3.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-arm.cmake b/cmake/onnxruntime-linux-arm.cmake index 27da9f337..09286a292 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.2/onnxruntime-linux-arm-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.2.zip") -set(onnxruntime_HASH "SHA256=3744a80478cba2c08d8a32a4d6a9dab45b47fd9bb4bde2ba1d1633bc00ca9990") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-linux-arm-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.3.zip") +set(onnxruntime_HASH "SHA256=2fa5a10f3f5c188dd42f69306b010bc112cf35c1634a3893535ef5b02a7275c6") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.2.zip - /tmp/onnxruntime-linux-arm-1.16.2.zip - /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.3.zip + /tmp/onnxruntime-linux-arm-1.16.3.zip + /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.3.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 486d82719..ac86ebb06 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/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-linux-x64-gpu-1.16.2.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.16.2.tgz") -set(onnxruntime_HASH "SHA256=84618c385d5cbac48fc714b8fb86e43828b52038144c1e0fdcb4c03293ae2d5a") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-linux-x64-gpu-1.16.3.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.16.3.tgz") +set(onnxruntime_HASH "SHA256=bbdc33367c056029b3ac0c042cbca2236b8f59a3a53b4daf23432ef1d8bf52de") # 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.2.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.2.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.2.tgz - /tmp/onnxruntime-linux-x64-gpu-1.16.2.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.2.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.3.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.3.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.3.tgz + /tmp/onnxruntime-linux-x64-gpu-1.16.3.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.3.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 8d5c9ff73..1e492c335 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.2/onnxruntime-linux-x64-static_lib-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-static_lib-1.16.2.zip") -set(onnxruntime_HASH "SHA256=912205ff23d7b717f6a24e6fa5287feefbea51657b24c0934b0a178ead371bdb") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-linux-x64-static_lib-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-static_lib-1.16.3.zip") +set(onnxruntime_HASH "SHA256=ebf0f4f34d1720d8df7e0be0bc2553bcb1469c44121acb43c9d972dad9b00607") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.2.zip - /tmp/onnxruntime-linux-x64-static_lib-1.16.2.zip - /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.3.zip + /tmp/onnxruntime-linux-x64-static_lib-1.16.3.zip + /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.3.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 ebd1e5759..16db2b156 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/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-linux-x64-1.16.2.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-1.16.2.tgz") -set(onnxruntime_HASH "SHA256=70c769771ad4b6d63b87ca1f62d3f11e998ea0b9d738d6bbdd6a5e6d8c1deb31") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-linux-x64-1.16.3.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-1.16.3.tgz") +set(onnxruntime_HASH "SHA256=b072f989d6315ac0e22dcb4771b083c5156d974a3496ac3504c77f4062eb248e") # 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.2.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.2.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.2.tgz - /tmp/onnxruntime-linux-x64-1.16.2.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.2.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-x64-1.16.3.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.3.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.3.tgz + /tmp/onnxruntime-linux-x64-1.16.3.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.3.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 e391d6c3d..aa6f13178 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.2/onnxruntime-osx-arm64-static_lib-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.16.2.zip") -set(onnxruntime_HASH "SHA256=d981882bc46d7bdbbf44ea5678549fa620cc33989682cd4f0362c5affbf9e83c") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-osx-arm64-static_lib-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.16.3.zip") +set(onnxruntime_HASH "SHA256=0481532b262dac3d09845bf11dc8b93c493359947edc449e066f1943b820d789") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.16.2.zip - /tmp/onnxruntime-osx-arm64-static_lib-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.16.3.zip + /tmp/onnxruntime-osx-arm64-static_lib-1.16.3.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-arm64.cmake b/cmake/onnxruntime-osx-arm64.cmake index e6cb6f3c2..329224d5e 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/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-arm64-1.16.2.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-1.16.2.tgz") -set(onnxruntime_HASH "SHA256=129eb884b39102492ff6fad3dc5aeaa2b1cca3a941fbd7436aaacf87a549facf") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-osx-arm64-1.16.3.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-1.16.3.tgz") +set(onnxruntime_HASH "SHA256=30f3acaa17c51ccd7ae1f6c3d7ac3154031abb9f91a0eb834aeb804f097ce795") # 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.2.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.2.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.2.tgz - /tmp/onnxruntime-osx-arm64-1.16.2.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.16.3.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.3.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.3.tgz + /tmp/onnxruntime-osx-arm64-1.16.3.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 d247b3999..2ab4ac954 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.2/onnxruntime-osx-universal2-static_lib-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.16.2.zip") -set(onnxruntime_HASH "SHA256=d81e878186cddc70d9e0c5b36a0cc1bd7e7e705c97fad5878a300df2d12236a4") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-osx-universal2-static_lib-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.16.3.zip") +set(onnxruntime_HASH "SHA256=19e39beefbb6d103c1d4c5a2d64bfbd6dd4c21f37d6545170ce3c59a5e2af452") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.16.2.zip - /tmp/onnxruntime-osx-universal2-static_lib-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.16.3.zip + /tmp/onnxruntime-osx-universal2-static_lib-1.16.3.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-universal.cmake b/cmake/onnxruntime-osx-universal.cmake index 19dea668c..951c2ca4c 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/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-universal2-1.16.2.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-1.16.2.tgz") -set(onnxruntime_HASH "SHA256=eb5200ceb5d196c5c84eb72a7831a780d1b63349b158405bc28a7817ad125b3d") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-osx-universal2-1.16.3.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-1.16.3.tgz") +set(onnxruntime_HASH "SHA256=6428d0f0ff1386e8e8256a708e187c1f8861387c9554bfc9c5f3390ffa0df5cc") # 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.2.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.2.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.2.tgz - /tmp/onnxruntime-osx-universal2-1.16.2.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.16.3.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.3.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.3.tgz + /tmp/onnxruntime-osx-universal2-1.16.3.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 037886646..21c947ed2 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.2/onnxruntime-osx-x86_64-static_lib-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.16.2.zip") -set(onnxruntime_HASH "SHA256=5b35de726aca53e6db714db6e1b5537ac5416fae43941dbe5edc103d0c093d39") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-osx-x86_64-static_lib-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.16.3.zip") +set(onnxruntime_HASH "SHA256=c1444c34b8798aa5033e9247727262a2f2ae26a2dd6de0765547c22ba527cf22") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.2.zip - /tmp/onnxruntime-osx-x86_64-static_lib-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.16.3.zip + /tmp/onnxruntime-osx-x86_64-static_lib-1.16.3.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 c031e00bf..4ee58e7b4 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/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-x86_64-1.16.2.tgz") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.2.tgz") -set(onnxruntime_HASH "SHA256=5d18e49e0b0baff1ae73c3b1e566b57aa61dfc0ba498da0bc26d73dcbba74e6d") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-osx-x86_64-1.16.3.tgz") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.3.tgz") +set(onnxruntime_HASH "SHA256=a395923ed91192e46bf50aec48d728dbf193dbd547ad50a231ba32df51608507") # 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.2.tgz - ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.2.tgz - ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.2.tgz - /tmp/onnxruntime-osx-x86_64-1.16.2.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.3.tgz + ${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.3.tgz + ${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.3.tgz + /tmp/onnxruntime-osx-x86_64-1.16.3.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 94e15653f..0a336d8ad 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.2/onnxruntime-win-x64-gpu-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-gpu-1.16.2.zip") -set(onnxruntime_HASH "SHA256=241572c3562e94281b1925c980c9a9fa3a605e0687218991e89b8bede0af2f06") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-win-x64-gpu-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-gpu-1.16.3.zip") +set(onnxruntime_HASH "SHA256=4facf5abd081accb64da0b4caa267d98e536427111f3246a3ddb09c6325756b9") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.2.zip - /tmp/onnxruntime-win-x64-gpu-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.3.zip + /tmp/onnxruntime-win-x64-gpu-1.16.3.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 336a788d5..412ddfc11 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.2/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2") -set(onnxruntime_HASH "SHA256=f8fa3305cdde4df82e9a8e4627b9fa25142231d1526c6f170bb81f94648bfb6e") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-win-x64-static_lib-1.16.3.tar.bz2") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-1.16.3.tar.bz2") +set(onnxruntime_HASH "SHA256=5d49f4cd576c8a850dd61bf673315c9e6ec111b09ceb81934048a2afb23ee5d6") # 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.2.tar.bz2 - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 - /tmp/onnxruntime-win-x64-static_lib-1.16.2.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.16.3.tar.bz2 + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.16.3.tar.bz2 + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.16.3.tar.bz2 + /tmp/onnxruntime-win-x64-static_lib-1.16.3.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64.cmake b/cmake/onnxruntime-win-x64.cmake index 0d3535ee1..888b5e67a 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.2/onnxruntime-win-x64-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-1.16.2.zip") -set(onnxruntime_HASH "SHA256=56df1a803a8ca24456471ee3540c1476e3f0b49a1690b93832775ee667a8ce61") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-win-x64-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-1.16.3.zip") +set(onnxruntime_HASH "SHA256=5eb01f69bb2d9fa2893c88310bb5c1eb8d79e8c460810817eef08b6f9b1078af") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.2.zip - /tmp/onnxruntime-win-x64-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-win-x64-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.3.zip + /tmp/onnxruntime-win-x64-1.16.3.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 924ae936d..4b40fee5c 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.2/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2") -set(onnxruntime_HASH "SHA256=b862605afc38a3b859673bc6a6691524328fc851b5a60a86eac12fb3192475e3") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.3/onnxruntime-win-x86-static_lib-1.16.3.tar.bz2") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static_lib-1.16.3.tar.bz2") +set(onnxruntime_HASH "SHA256=b291d25be9b6214d1ed058635a1fcaf5bb49b996c3d77b1a60b5e7767718a036") # 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.2.tar.bz2 - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 - ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 - /tmp/onnxruntime-win-x86-static_lib-1.16.2.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.16.3.tar.bz2 + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.16.3.tar.bz2 + ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.16.3.tar.bz2 + /tmp/onnxruntime-win-x86-static_lib-1.16.3.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x86.cmake b/cmake/onnxruntime-win-x86.cmake index b280bb364..ad36cedf7 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.2/onnxruntime-win-x86-1.16.2.zip") -set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-1.16.2.zip") -set(onnxruntime_HASH "SHA256=d8d4b0168670fb16f8d0af95f20334faa804c3eb6e5057d372c22e6efbad3142") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-win-x86-1.16.3.zip") +set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-1.16.3.zip") +set(onnxruntime_HASH "SHA256=9731c6d43588b34fd9b74c704cbc2864ff4384820d7a7f177062c1524bea624b") # 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.2.zip - ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.2.zip - ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.2.zip - /tmp/onnxruntime-win-x86-1.16.2.zip + $ENV{HOME}/Downloads/onnxruntime-win-x86-1.16.3.zip + ${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.3.zip + ${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.3.zip + /tmp/onnxruntime-win-x86-1.16.3.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj index 61e855633..649e9a770 100644 --- a/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj @@ -30,7 +30,7 @@ C9A2588D2AAF039D00E555CA /* Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extension.swift; sourceTree = ""; }; C9A258922AAF057E00E555CA /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = ""; }; C9A258952AAF05D100E555CA /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; - C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.16.0/onnxruntime.xcframework"; sourceTree = ""; }; + C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.16.3/onnxruntime.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ diff --git a/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj index 2f21bc3d0..a1f8eeffd 100644 --- a/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj @@ -36,7 +36,7 @@ DE081AAE2ABFF35400E8CD63 /* UTType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UTType.swift; sourceTree = ""; }; DE081AB02ABFFEEE00E8CD63 /* Document.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = ""; }; DE081AB22ABFFF2600E8CD63 /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = ""; }; - DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.16.0/onnxruntime.xcframework"; sourceTree = ""; }; + DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.16.3/onnxruntime.xcframework"; sourceTree = ""; }; DE8C85A92ABF23FA00F667E3 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; DE8C85B12ABF257200F667E3 /* SpeechSegment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpeechSegment.swift; sourceTree = ""; }; DEA22DEE2AC1796C00549373 /* tiny.en-encoder.int8.onnx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "tiny.en-encoder.int8.onnx"; sourceTree = ""; }; diff --git a/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj index 4a36fb64e..8f75463f4 100644 --- a/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj @@ -26,7 +26,7 @@ C9FE9FE42B0F33CD009F1003 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = ""; }; C9FE9FE62B0F3620009F1003 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = ""; }; C9FE9FE92B0F3754009F1003 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; - C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.16.2/onnxruntime.xcframework"; sourceTree = ""; }; + C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.16.3/onnxruntime.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */