Update to onnxruntime v1.16.1 (#406)

This commit is contained in:
Fangjun Kuang
2023-11-01 16:23:31 +08:00
committed by GitHub
parent 27db015c8e
commit cca744e34e
26 changed files with 143 additions and 141 deletions

View File

@@ -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)