Support onnxruntime 1.16.0 (#330)
This commit is contained in:
@@ -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/microsoft/onnxruntime/releases/download/v1.15.1/onnxruntime-linux-x64-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=5492f9065f87538a286fb04c8542e9ff7950abb2ea6f8c24993a940006787d87")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=02bcd1e4fef295dacc3b232774efeaa0a83527f439f29147c3badade4df1f6dc")
|
||||
|
||||
# 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-x64-1.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.15.1.tgz
|
||||
/tmp/onnxruntime-linux-x64-1.15.1.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-x64-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-linux-x64-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-1.16.0.tgz
|
||||
/tmp/onnxruntime-linux-x64-1.16.0.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-x64-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
Reference in New Issue
Block a user