Revert to onnxruntime 1.17.1 (#1131)

This commit is contained in:
Fangjun Kuang
2024-07-15 14:24:08 +08:00
committed by GitHub
parent 04c2319c2c
commit c35200dccf
50 changed files with 204 additions and 199 deletions

View File

@@ -12,18 +12,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.1/onnxruntime-osx-x86_64-1.18.1.tgz")
set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-x86_64-1.18.1.tgz")
set(onnxruntime_HASH "SHA256=938198521ecccd6fca4cadd627a57966de092feb6ea9ecb579437898d04ebad8")
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz")
set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz")
set(onnxruntime_HASH "SHA256=86c6b6896434084ff5086eebc4e9ea90be1ed4d46743f92864f46ee43e7b5059")
# 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-osx-x86_64-1.18.1.tgz
${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.18.1.tgz
${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.18.1.tgz
/tmp/onnxruntime-osx-x86_64-1.18.1.tgz
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.17.1.tgz
${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz
${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz
/tmp/onnxruntime-osx-x86_64-1.17.1.tgz
)
foreach(f IN LISTS possible_file_locations)