Update onnxruntime to v1.16.2 (#421)

This commit is contained in:
Fangjun Kuang
2023-11-12 11:29:33 +08:00
committed by GitHub
parent 68f0e59688
commit 9884cf71e7
24 changed files with 140 additions and 140 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.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")
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")
# 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.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
$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
)
foreach(f IN LISTS possible_file_locations)