support onnxruntime v1.17.1 (#624)

This commit is contained in:
Fangjun Kuang
2024-03-02 11:44:59 +08:00
committed by GitHub
parent d56964371c
commit a65643b594
27 changed files with 166 additions and 166 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.17.0/onnxruntime-linux-arm-1.17.0.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.0/onnxruntime-linux-arm-1.17.0.zip")
set(onnxruntime_HASH "SHA256=6bdddba15193336ed26b7fbcc7e487f774cf52c8917899cc5b1d214089e6e855")
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1.zip")
set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1.zip")
set(onnxruntime_HASH "SHA256=08eed09b35a015fbf3a068baf6388a3b447d24dec62b75cd591a01179d0bfe7b")
# 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.17.0.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.17.0.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.17.0.zip
/tmp/onnxruntime-linux-arm-1.17.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.0.zip
$ENV{HOME}/Downloads/onnxruntime-linux-arm-1.17.1.zip
${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.17.1.zip
${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.17.1.zip
/tmp/onnxruntime-linux-arm-1.17.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.1.zip
)
foreach(f IN LISTS possible_file_locations)