Update onnxruntime to v1.16.2 (#421)

This commit is contained in:
Fangjun Kuang
2023-11-12 11:29:33 +08:00
committed by GitHub
parent 68f0e59688
commit 9884cf71e7
24 changed files with 140 additions and 140 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.16.1/onnxruntime-osx-x86_64-1.16.1.tgz")
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.1.tgz")
set(onnxruntime_HASH "SHA256=0b8ae24401a8f75e1c4f75257d4eaeb1b6d44055e027df4aa4a84e67e0f9b9e3")
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.2/onnxruntime-osx-x86_64-1.16.2.tgz")
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.16.2.tgz")
set(onnxruntime_HASH "SHA256=5d18e49e0b0baff1ae73c3b1e566b57aa61dfc0ba498da0bc26d73dcbba74e6d")
# 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.16.1.tgz
${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.1.tgz
${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.1.tgz
/tmp/onnxruntime-osx-x86_64-1.16.1.tgz
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.2.tgz
${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.2.tgz
${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.2.tgz
/tmp/onnxruntime-osx-x86_64-1.16.2.tgz
)
foreach(f IN LISTS possible_file_locations)