Support onnxruntime 1.16.0 (#330)
This commit is contained in:
@@ -8,18 +8,18 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
|
||||
message(FATAL_ERROR "This file is for macOS only. Given: ${CMAKE_SYSTEM_NAME}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.15.1/onnxruntime-osx-x86_64-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-x86_64-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=4b66ebbca24b8b96f6b74655fee3610a7e529b4e01f6790632f24ee82b778e5a")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-x86_64-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=3d639a269af4e97a455f23cff363a709ef3a5f3e086162e65e3395c339122285")
|
||||
|
||||
# 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.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.15.1.tgz
|
||||
/tmp/onnxruntime-osx-x86_64-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-osx-x86_64-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-osx-x86_64-1.16.0.tgz
|
||||
/tmp/onnxruntime-osx-x86_64-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
Reference in New Issue
Block a user