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

@@ -15,18 +15,18 @@ 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/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-win-x86-1.18.0.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-win-x86-1.18.0.zip")
set(onnxruntime_HASH "SHA256=b71a6ea9f7fee248ce79dadab45cf522a44a74270c85f8e4ff1ca6ab6bcbae42")
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip")
set(onnxruntime_HASH "SHA256=9e05fb69de8f324a11e869fd391f8c56919fd9d4b353a0acd9ffffcf4f8b4872")
# 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-x86-1.18.0.zip
${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.18.0.zip
${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.18.0.zip
/tmp/onnxruntime-win-x86-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-win-x86-1.18.1.zip
${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.18.1.zip
${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.18.1.zip
/tmp/onnxruntime-win-x86-1.18.1.zip
)
foreach(f IN LISTS possible_file_locations)