Skip to content

Commit 4578e68

Browse files
build(cmake): update onnxruntime package details for spacemit (#3610)
1 parent d0102a6 commit 4578e68

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cmake/onnxruntime-linux-riscv64-spacemit.cmake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ if(NOT BUILD_SHARED_LIBS)
1313
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}, SHERPA_ONNX_ENABLE_SPACEMIT: ${SHERPA_ONNX_ENABLE_SPACEMIT}")
1414
endif()
1515

16-
set(onnxruntime_pkg_name "spacemit-ort.riscv64.2.0.2%2Brc1.tar.gz")
17-
set(onnxruntime_URL "https://archive.spacemit.com/spacemit-ai/onnxruntime/${onnxruntime_pkg_name}")
18-
set(onnxruntime_HASH "SHA256=36276ce948da5cb9e388f1efcbc24849f1a10dd6710d0b02943bd2fe54bad87f")
16+
set(onnxruntime_version "2.0.2")
17+
set(onnxruntime_pkg_name "spacemit-ort.riscv64.${onnxruntime_version}.tar.gz")
18+
set(onnxruntime_URL "https://github.com/spacemit-com/onnxruntime/releases/download/${onnxruntime_version}/${onnxruntime_pkg_name}")
19+
set(onnxruntime_HASH "SHA256=b9d038eab644c42712b93e14648427467a02d1b66115795033093efbeb53c868")
1920

2021
# If you don't have access to the Internet,
2122
# please download onnxruntime to one of the following locations.

0 commit comments

Comments
 (0)