Update onnxruntime from v1.18.0 to v1.18.1 (#1107)

This commit is contained in:
Fangjun Kuang
2024-07-11 09:35:28 +08:00
committed by GitHub
parent 5a2603ff5c
commit 1c104ea847
35 changed files with 179 additions and 188 deletions

View File

@@ -14,20 +14,19 @@ 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/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-arm-1.18.0.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-arm-1.18.0.zip")
# set(onnxruntime_HASH "SHA256=f713a5e09bff5ff1438c26d26cf283d305e37af1fbd59e9190b17cd7f8d2b1c6")
set(onnxruntime_HASH) # TODO(fangjun): Update it
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip")
set(onnxruntime_HASH "SHA256=4ff55cff886bb920bacf172478afe030b915eacd49665e3127454454bbb1dcde")
# 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-1.18.0.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.18.0.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.18.0.zip
/tmp/onnxruntime-linux-arm-1.18.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-linux-arm-1.18.1.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.18.1.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.18.1.zip
/tmp/onnxruntime-linux-arm-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.18.1.zip
)
foreach(f IN LISTS possible_file_locations)