Update to onnxruntime 1.16.3 (#446)

This commit is contained in:
Fangjun Kuang
2023-11-24 14:39:03 +08:00
committed by GitHub
parent 2a91524dbf
commit 8444d54c4e
26 changed files with 141 additions and 141 deletions

View File

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