Support onnxruntime 1.16.0 (#330)
This commit is contained in:
@@ -10,19 +10,19 @@ if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64)
|
||||
message(FATAL_ERROR "This file is for aarch64 only. Given: ${CMAKE_SYSTEM_PROCESSOR}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.15.1/onnxruntime-linux-aarch64-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-aarch64-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=85272e75d8dd841138de4b774a9672ea93c1be108d96038c6c34a62d7f976aee")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-aarch64-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=8b15781d974803203c09df7d52c84d8c9f1ac7d949a97f515e4d2f5dc978d8af")
|
||||
|
||||
# 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-1.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.15.1.tgz
|
||||
/tmp/onnxruntime-linux-aarch64-1.15.1.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-linux-aarch64-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-aarch64-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-aarch64-1.16.0.tgz
|
||||
/tmp/onnxruntime-linux-aarch64-1.16.0.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -10,19 +10,19 @@ if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL arm)
|
||||
message(FATAL_ERROR "This file is for arm only. Given: ${CMAKE_SYSTEM_PROCESSOR}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.15.1.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-arm-1.15.1.zip")
|
||||
set(onnxruntime_HASH "SHA256=867b96210a347e4b1bb949e7c9a3f222371ea0c00c9deaaba9fdd66c689f7fb7")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-arm-1.16.0.zip")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=0a63ea99fbba3ee399d6626c36752844ae93ae19bab30e4bf00d45cc8a13da02")
|
||||
|
||||
# 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.15.1.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.15.1.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.15.1.zip
|
||||
/tmp/onnxruntime-linux-arm-1.15.1.zip
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.15.1.zip
|
||||
$ENV{HOME}/Downloads/onnxruntime-linux-arm-1.16.0.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-arm-1.16.0.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-arm-1.16.0.zip
|
||||
/tmp/onnxruntime-linux-arm-1.16.0.zip
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.16.0.zip
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -18,19 +18,19 @@ if(NOT SHERPA_ONNX_ENABLE_GPU)
|
||||
message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.15.1/onnxruntime-linux-x64-gpu-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-gpu-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=eab891393025edd5818d1aa26a42860e5739fcc49e3ca3f876110ec8736fe7f1")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-gpu-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=f9cbf3d711f46d7e03ea43746ee9d1c7d8e82c171a4655f6591dd4d1ba1b9ec7")
|
||||
|
||||
# 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-gpu-1.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.15.1.tgz
|
||||
/tmp/onnxruntime-linux-x64-gpu-1.15.1.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.0.tgz
|
||||
/tmp/onnxruntime-linux-x64-gpu-1.16.0.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -14,22 +14,19 @@ if(BUILD_SHARED_LIBS)
|
||||
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
|
||||
endif()
|
||||
|
||||
# TODO(fangjun): update the URL
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-static_lib-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-static_lib-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=b64fcf4115e3d02193c7406461d582703ccc1f0c24ad320ef74b07e5f71681c6")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-static_lib-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=a36e989c9a07f12bf16f63acb2217b02a0cf4ac75aa7bc27de76ae08706a5c1f")
|
||||
|
||||
# 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
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.15.1.tgz
|
||||
|
||||
$ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.15.1.tgz
|
||||
/tmp/onnxruntime-linux-x64-static_lib-1.15.1.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.16.0.tgz
|
||||
/tmp/onnxruntime-linux-x64-static_lib-1.16.0.tgz
|
||||
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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-arm64-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-arm64-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=df97832fc7907c6677a6da437f92339d84a462becb74b1d65217fcb859ee9460")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-arm64-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=fec3b70ca4f642a5c6d5c3a6f3a4eddd4c1b9281893fe2c7ae03a3086e20c316")
|
||||
|
||||
# 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-arm64-1.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.15.1.tgz
|
||||
/tmp/onnxruntime-osx-arm64-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-osx-arm64-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-osx-arm64-1.16.0.tgz
|
||||
/tmp/onnxruntime-osx-arm64-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -9,18 +9,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-universal2-1.15.1.tgz")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-universal2-1.15.1.tgz")
|
||||
set(onnxruntime_HASH "SHA256=ecb7651c216fe6ffaf4c578e135d98341bc5bc944c5dc6b725ef85b0d7747be0")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-osx-universal2-1.16.0.tgz")
|
||||
set(onnxruntime_URL2 )
|
||||
set(onnxruntime_HASH "SHA256=e5b69ece634cf1cd5cf4b45ab478417199a5e8ab5775f6f12560e09dc5ef7749")
|
||||
|
||||
# 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-universal2-1.15.1.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.15.1.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.15.1.tgz
|
||||
/tmp/onnxruntime-osx-universal2-1.15.1.tgz
|
||||
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.16.0.tgz
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-osx-universal2-1.16.0.tgz
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-osx-universal2-1.16.0.tgz
|
||||
/tmp/onnxruntime-osx-universal2-1.16.0.tgz
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -19,18 +19,18 @@ if(NOT SHERPA_ONNX_ENABLE_GPU)
|
||||
message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.15.1/onnxruntime-win-x64-gpu-1.15.1.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x64-gpu-1.15.1.zip")
|
||||
set(onnxruntime_HASH "SHA256=dcc3a385b415dd2e4a813018b71da5085d9b97774552edf17947826a255a3732")
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.0/onnxruntime-win-x64-gpu-1.16.0.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x64-gpu-1.16.0.zip")
|
||||
set(onnxruntime_HASH "SHA256=2a824d2a98fe7328980fcd27016fe797137f7050b047eecf3a3f6b82a24f63c1")
|
||||
|
||||
# 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-win-x64-gpu-1.15.1.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.15.1.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.15.1.zip
|
||||
/tmp/onnxruntime-win-x64-gpu-1.15.1.zip
|
||||
$ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.16.0.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.16.0.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x64-gpu-1.16.0.zip
|
||||
/tmp/onnxruntime-win-x64-gpu-1.16.0.zip
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -15,18 +15,18 @@ if(BUILD_SHARED_LIBS)
|
||||
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static-1.15.1.tar.bz2")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static-1.16.0.tar.bz2")
|
||||
set(onnxruntime_URL2 "")
|
||||
set(onnxruntime_HASH "SHA256=c809a8510a89b8b37ae7d563c39229db22bac8fbefcbfe5c81a60b367d065b1b")
|
||||
set(onnxruntime_HASH "SHA256=d1b87e8a438a7e31b46bf13a194c5ac38fdf60ebeefef82692008e42e3242776")
|
||||
|
||||
# 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-win-x64-static-1.15.1.tar.bz2
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static-1.15.1.tar.bz2
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static-1.15.1.tar.bz2
|
||||
/tmp/onnxruntime-win-x64-static-1.15.1.tar.bz2
|
||||
$ENV{HOME}/Downloads/onnxruntime-win-x64-static-1.16.0.tar.bz2
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-static-1.16.0.tar.bz2
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x64-static-1.16.0.tar.bz2
|
||||
/tmp/onnxruntime-win-x64-static-1.16.0.tar.bz2
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -15,18 +15,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.15.1/onnxruntime-win-x64-1.15.1.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x64-1.15.1.zip")
|
||||
set(onnxruntime_HASH "SHA256=261308ee5526dfd3f405ce8863e43d624a2e0bcd16b2d33cdea8c120ab3534d3")
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.0/onnxruntime-win-x64-1.16.0.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x64-1.16.0.zip")
|
||||
set(onnxruntime_HASH "SHA256=ce6777ecde7d4a6c9d4eab9774089fe04be1bad979323ae502e667b95222e08f")
|
||||
|
||||
# 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-win-x64-1.15.1.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.15.1.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.15.1.zip
|
||||
/tmp/onnxruntime-win-x64-1.15.1.zip
|
||||
$ENV{HOME}/Downloads/onnxruntime-win-x64-1.16.0.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x64-1.16.0.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x64-1.16.0.zip
|
||||
/tmp/onnxruntime-win-x64-1.16.0.zip
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -15,18 +15,18 @@ if(BUILD_SHARED_LIBS)
|
||||
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
|
||||
endif()
|
||||
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static-1.15.1.tar.bz2")
|
||||
set(onnxruntime_URL "https://huggingface.co/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x86-static-1.16.0.tar.bz2")
|
||||
set(onnxruntime_URL2 "")
|
||||
set(onnxruntime_HASH "SHA256=94d9a30976b5c4a5dff7508d00f141835916e5a36315d5f53be9b3edb85148b5")
|
||||
set(onnxruntime_HASH "SHA256=aedb6b5275f7832ac5117db8e40328a0842ae8ce6749a0c99bcb4218c53fdc60")
|
||||
|
||||
# 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-win-x86-static-1.15.1.tar.bz2
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static-1.15.1.tar.bz2
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static-1.15.1.tar.bz2
|
||||
/tmp/onnxruntime-win-x86-static-1.15.1.tar.bz2
|
||||
$ENV{HOME}/Downloads/onnxruntime-win-x86-static-1.16.0.tar.bz2
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-static-1.16.0.tar.bz2
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x86-static-1.16.0.tar.bz2
|
||||
/tmp/onnxruntime-win-x86-static-1.16.0.tar.bz2
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
@@ -15,18 +15,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.15.1/onnxruntime-win-x86-1.15.1.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x86-1.15.1.zip")
|
||||
set(onnxruntime_HASH "SHA256=8de18fdf274a8adcd95272fcf58beda0fe2fb37f0cd62c02bc4bb6200429e4e2")
|
||||
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.0/onnxruntime-win-x86-1.16.0.zip")
|
||||
set(onnxruntime_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-win-x86-1.16.0.zip")
|
||||
set(onnxruntime_HASH "SHA256=a1da9e0739336c826c04ab7cb63a3e7bf6ab0dda5fb8bbba17bba4cf8c7d4e20")
|
||||
|
||||
# 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-win-x86-1.15.1.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.15.1.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.15.1.zip
|
||||
/tmp/onnxruntime-win-x86-1.15.1.zip
|
||||
$ENV{HOME}/Downloads/onnxruntime-win-x86-1.16.0.zip
|
||||
${PROJECT_SOURCE_DIR}/onnxruntime-win-x86-1.16.0.zip
|
||||
${PROJECT_BINARY_DIR}/onnxruntime-win-x86-1.16.0.zip
|
||||
/tmp/onnxruntime-win-x86-1.16.0.zip
|
||||
)
|
||||
|
||||
foreach(f IN LISTS possible_file_locations)
|
||||
|
||||
Reference in New Issue
Block a user