Update onnxruntime from 1.16.3 to 1.17.0 (#581)

This commit is contained in:
Fangjun Kuang
2024-02-17 12:43:42 +08:00
committed by GitHub
parent d771762868
commit 81da0fb7a6
25 changed files with 161 additions and 155 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.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")
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-linux-arm-static_lib-1.17.0.zip")
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-static_lib-1.17.0.zip")
set(onnxruntime_HASH "SHA256=36a30732b2ccebdaabfee6e1e4473ce65d90cab12c6d2136874e847baeaa1571")
# 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.3.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.16.3.zip
${CMAKE_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
$ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.17.0.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.17.0.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.17.0.zip
/tmp/onnxruntime-linux-arm-static_lib-1.17.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.17.0.zip
)
foreach(f IN LISTS possible_file_locations)