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