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

@@ -14,19 +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.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip")
set(onnxruntime_HASH "SHA256=6db9962de2e0e451b95db071cf8a2aaa4176bf380d13ba1a91abd57fbc458e2f")
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip")
set(onnxruntime_HASH "SHA256=6e0e68985f8dd1f643e5a4dbe7cd54c9e176a0cc62249c6bee0699b87fc6d4fb")
# 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-aarch64-glibc2_17-Release-1.18.1.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
/tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
$ENV{HOME}/Downloads/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
/tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
)
foreach(f IN LISTS possible_file_locations)