Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2024-07-11 09:35:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-07-11 09:35:28 +0800
Commit
1c104ea84710412439beedf962010652375e05b8
1c104ea8
1 parent
5a2603ff
Update onnxruntime from v1.18.0 to v1.18.1 (#1107)
隐藏空白字符变更
内嵌
并排对比
正在显示
35 个修改的文件
包含
179 行增加
和
188 行删除
.github/scripts/test-python.sh
.github/workflows/test-go.yaml
CHANGELOG.md
build-ios-no-tts.sh
build-ios-shared.sh
build-ios.sh
cmake/onnxruntime-linux-aarch64-static.cmake
cmake/onnxruntime-linux-aarch64.cmake
cmake/onnxruntime-linux-arm-static.cmake
cmake/onnxruntime-linux-arm.cmake
cmake/onnxruntime-linux-x86_64-gpu.cmake
cmake/onnxruntime-linux-x86_64-static.cmake
cmake/onnxruntime-linux-x86_64.cmake
cmake/onnxruntime-osx-arm64-static.cmake
cmake/onnxruntime-osx-arm64.cmake
cmake/onnxruntime-osx-universal-static.cmake
cmake/onnxruntime-osx-universal.cmake
cmake/onnxruntime-osx-x86_64-static.cmake
cmake/onnxruntime-osx-x86_64.cmake
cmake/onnxruntime-wasm-simd.cmake
cmake/onnxruntime-win-arm64.cmake
cmake/onnxruntime-win-x64-gpu.cmake
cmake/onnxruntime-win-x64-static-debug.cmake
cmake/onnxruntime-win-x64-static.cmake
cmake/onnxruntime-win-x64.cmake
cmake/onnxruntime-win-x86-static-debug.cmake
cmake/onnxruntime-win-x86-static.cmake
cmake/onnxruntime-win-x86.cmake
ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj
ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj
ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj
ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj
ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj
scripts/dotnet/generate.py
scripts/go/release.sh
.github/scripts/test-python.sh
查看文件 @
1c104ea
...
...
@@ -328,14 +328,6 @@ if [[ x$OS != x'windows-latest' ]]; then
python3 ./python-api-examples/offline-decode-files.py
\
--tokens
=
$repo
/tokens.txt
\
--paraformer
=
$repo
/model.onnx
\
$repo
/test_wavs/0.wav
\
$repo
/test_wavs/1.wav
\
$repo
/test_wavs/2.wav
\
$repo
/test_wavs/8k.wav
python3 ./python-api-examples/offline-decode-files.py
\
--tokens
=
$repo
/tokens.txt
\
--paraformer
=
$repo
/model.int8.onnx
\
$repo
/test_wavs/0.wav
\
$repo
/test_wavs/1.wav
\
...
...
.github/workflows/test-go.yaml
查看文件 @
1c104ea
...
...
@@ -116,7 +116,7 @@ jobs:
rm ./lib/*.a
rm ./lib/libonnxruntime.dylib
cd lib
ln -s libonnxruntime.1.18.
0
.dylib libonnxruntime.dylib
ln -s libonnxruntime.1.18.
1
.dylib libonnxruntime.dylib
cd ..
fi
...
...
CHANGELOG.md
查看文件 @
1c104ea
## 1.10.14 (to-be-released)
*
Update onnxruntime from v1.18.0 to v1.18.1
*
Fix invalid utf8 sequence from Whisper for Dart API.
## 1.10.13
...
...
build-ios-no-tts.sh
查看文件 @
1c104ea
...
...
@@ -5,7 +5,7 @@ set -e
dir
=
build-ios-no-tts
mkdir -p
$dir
cd
$dir
onnxruntime_version
=
1.18.
0
onnxruntime_version
=
1.18.
1
onnxruntime_dir
=
ios-onnxruntime/
$onnxruntime_version
if
[
! -f
$onnxruntime_dir
/onnxruntime.xcframework/ios-arm64/onnxruntime.a
]
;
then
...
...
build-ios-shared.sh
查看文件 @
1c104ea
...
...
@@ -10,7 +10,7 @@ set -e
dir
=
build-ios-shared
mkdir -p
$dir
cd
$dir
onnxruntime_version
=
1.18.
0
onnxruntime_version
=
1.18.
1
onnxruntime_dir
=
ios-onnxruntime/
$onnxruntime_version
SHERPA_ONNX_GITHUB
=
github.com
...
...
build-ios.sh
查看文件 @
1c104ea
...
...
@@ -5,7 +5,7 @@ set -e
dir
=
build-ios
mkdir -p
$dir
cd
$dir
onnxruntime_version
=
1.18.
0
onnxruntime_version
=
1.18.
1
onnxruntime_dir
=
ios-onnxruntime/
$onnxruntime_version
SHERPA_ONNX_GITHUB
=
github.com
...
...
cmake/onnxruntime-linux-aarch64-static.cmake
查看文件 @
1c104ea
...
...
@@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-aarch64-static_lib-1.18.0-glibc2_17.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-aarch64-static_lib-1.18.0-glibc2_17.zip"
)
set
(
onnxruntime_HASH
"SHA256=82f5a17859261b16a42719afdf58ffb1a48c76f51d9463c89333ac335200fe39"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip"
)
set
(
onnxruntime_HASH
"SHA256=c84d068058a8a30d013ad4b7ec65c734b343191e87190faecd535acb9e8d1592"
)
# 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-static_lib-1.18.0-glibc2_17.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-aarch64-static_lib-1.18.0-glibc2_17.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-aarch64-static_lib-1.18.0-glibc2_17.zip
/tmp/onnxruntime-linux-aarch64-static_lib-1.18.0-glibc2_17.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.18.0-glibc2_17.zip
$ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip
/tmp/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-aarch64.cmake
查看文件 @
1c104ea
...
...
@@ -14,20 +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/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.0.zip"
)
# set(onnxruntime_HASH "SHA256=9b288e867f09521d3a9f17b9c0979ac92bc1817dc083dc82d54aa027c0dac781")
set
(
onnxruntime_HASH
)
# TODO(fangjun): Update it
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=6db9962de2e0e451b95db071cf8a2aaa4176bf380d13ba1a91abd57fbc458e2f"
)
# 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-glibc2_17-Release-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.0.zip
/tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
/tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-arm-static.cmake
查看文件 @
1c104ea
...
...
@@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-arm-static_lib-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-arm-static_lib-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=ba4590a386bc4aae3e03b00ccc1be42edd582fd7ecf5583614e1e0c2e7424652"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-static_lib-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-static_lib-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=c0e2b055efbafae2eacfbbe1d5fa9410b5b756555defd7b2bb918ce53af99f51"
)
# 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-static_lib-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-arm-static_lib-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-arm-static_lib-1.18.0.zip
/tmp/onnxruntime-linux-arm-static_lib-1.18.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-arm-static_lib-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-arm-static_lib-1.18.1.zip
/tmp/onnxruntime-linux-arm-static_lib-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-arm.cmake
查看文件 @
1c104ea
...
...
@@ -14,20 +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/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-arm-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-arm-1.18.0.zip"
)
# set(onnxruntime_HASH "SHA256=f713a5e09bff5ff1438c26d26cf283d305e37af1fbd59e9190b17cd7f8d2b1c6")
set
(
onnxruntime_HASH
)
# TODO(fangjun): Update it
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=4ff55cff886bb920bacf172478afe030b915eacd49665e3127454454bbb1dcde"
)
# 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.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-arm-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-arm-1.18.0.zip
/tmp/onnxruntime-linux-arm-1.18.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-linux-arm-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-arm-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-arm-1.18.1.zip
/tmp/onnxruntime-linux-arm-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-x86_64-gpu.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-linux-x64-gpu-1.18.0.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-gpu-1.18.0.tgz"
)
set
(
onnxruntime_HASH
"SHA256=e49980108c0b9dd718c14fa2e6ba3cd90b9ff8e9bde8ebac0a2f1aacdc0603ca"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-linux-x64-gpu-1.18.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-linux-x64-gpu-1.18.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=d947af0e4311fd38012ad69dea4983e73ce5f1754da0d5b7a118603dd87b197d"
)
# 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.18.0.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-gpu-1.18.0.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-gpu-1.18.0.tgz
/tmp/onnxruntime-linux-x64-gpu-1.18.0.tgz
/star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.18.0.tgz
$ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.18.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-gpu-1.18.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-gpu-1.18.1.tgz
/tmp/onnxruntime-linux-x64-gpu-1.18.1.tgz
/star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.18.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-x86_64-static.cmake
查看文件 @
1c104ea
...
...
@@ -14,19 +14,19 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-x64-static_lib-1.18.0-glibc2_17.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-x64-static_lib-1.18.0-glibc2_17.zip"
)
set
(
onnxruntime_HASH
"SHA256=4112757cb49dd53853748813cb2b5d164c8bec465fff852be247d450b95b0737"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip"
)
set
(
onnxruntime_HASH
"SHA256=48e0691efa6b043f47f4d53e81cdcc151077c8ae4fab049fb00844ec2d61632a"
)
# 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-static_lib-1.18.0-glibc2_17.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-static_lib-1.18.0-glibc2_17.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-static_lib-1.18.0-glibc2_17.zip
/tmp/onnxruntime-linux-x64-static_lib-1.18.0-glibc2_17.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.18.0-glibc2_17.zip
$ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip
/tmp/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-x86_64.cmake
查看文件 @
1c104ea
...
...
@@ -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/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-x64-glibc2_17-Release-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-linux-x64-glibc2_17-Release-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=96137d33c88a036d5afe64dee5f530a1b78705d41857d8aac88a3c2b53a6a5ac"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=2d15dfab33cafeed69be2c885711daac2dfb9ff305f6129a19e2c0f6561a80bf"
)
# 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-glibc2_17-Release-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-glibc2_17-Release-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-glibc2_17-Release-1.18.0.zip
/tmp/onnxruntime-linux-x64-glibc2_17-Release-1.18.0.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip
/tmp/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-arm64-static.cmake
查看文件 @
1c104ea
...
...
@@ -12,18 +12,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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-arm64-static_lib-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-arm64-static_lib-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=2faea156041f0658ef60423f5b0a34ba5d9127297b429c73ce98225e66f610bf"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-arm64-static_lib-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-arm64-static_lib-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=37e551afc97f5dd2f6eb8054c06557122b81ef714ced88173658a750a12f313d"
)
# 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-static_lib-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-arm64-static_lib-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-arm64-static_lib-1.18.0.zip
/tmp/onnxruntime-osx-arm64-static_lib-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-arm64-static_lib-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-arm64-static_lib-1.18.1.zip
/tmp/onnxruntime-osx-arm64-static_lib-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-arm64.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-osx-arm64-1.18.0.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-osx-arm64-1.18.0.tgz"
)
set
(
onnxruntime_HASH
"SHA256=c5ff520d2913e3360670979ca4fe43717fc3aa0c0c367a75fbb6f2f15c0cb48d"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-arm64-1.18.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-arm64-1.18.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=f3356203e9b6f5023168a12db74b1060ab397f8f3ce8f5cb2c2bd9e7f1195b01"
)
# 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.18.0.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-arm64-1.18.0.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-arm64-1.18.0.tgz
/tmp/onnxruntime-osx-arm64-1.18.0.tgz
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.18.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-arm64-1.18.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-arm64-1.18.1.tgz
/tmp/onnxruntime-osx-arm64-1.18.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-universal-static.cmake
查看文件 @
1c104ea
...
...
@@ -13,18 +13,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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-universal2-static_lib-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-universal2-static_lib-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=a36c250ef90b15467fc126644825b2c4b7983f1f7c718051563f990606ab28f5"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=b9fd4c1c31e53a2d19bc21aa43dddc241076d7c4208137057b3728af10680d47"
)
# 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-static_lib-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-universal2-static_lib-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-universal2-static_lib-1.18.0.zip
/tmp/onnxruntime-osx-universal2-static_lib-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-universal2-static_lib-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-universal2-static_lib-1.18.1.zip
/tmp/onnxruntime-osx-universal2-static_lib-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-universal.cmake
查看文件 @
1c104ea
...
...
@@ -13,18 +13,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.18.0/onnxruntime-osx-universal2-1.18.0.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-osx-universal2-1.18.0.tgz"
)
set
(
onnxruntime_HASH
"SHA256=4df8e1fec0190ee504a68469591e8715c04bfe9deba2bb7e8985c07360c1c0f8"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-universal2-1.18.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-universal2-1.18.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=014f6332da3fa51926c57ca973c2d03ceebae069a537f55765848260ab4bf8f7"
)
# 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.18.0.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-universal2-1.18.0.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-universal2-1.18.0.tgz
/tmp/onnxruntime-osx-universal2-1.18.0.tgz
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.18.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-universal2-1.18.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-universal2-1.18.1.tgz
/tmp/onnxruntime-osx-universal2-1.18.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-x86_64-static.cmake
查看文件 @
1c104ea
...
...
@@ -12,18 +12,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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-x86_64-static_lib-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-osx-x86_64-static_lib-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=a7ccc5f7acce2554a43174ff7c2efc5fa71d7dc0a5a91208096120cc775a9575"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-x86_64-static_lib-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-x86_64-static_lib-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=84b639e8a21adcbe335ba4ade3c5ad2d726f20a21e9d9a97a252fb232600c037"
)
# 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-static_lib-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-x86_64-static_lib-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-x86_64-static_lib-1.18.0.zip
/tmp/onnxruntime-osx-x86_64-static_lib-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-x86_64-static_lib-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-x86_64-static_lib-1.18.1.zip
/tmp/onnxruntime-osx-x86_64-static_lib-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-x86_64.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-osx-x86_64-1.18.0.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-osx-x86_64-1.18.0.tgz"
)
set
(
onnxruntime_HASH
"SHA256=3af96893675b295e5e0eb886f470de585089f92f9950158d042fbc02b44ed101"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-x86_64-1.18.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-x86_64-1.18.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=938198521ecccd6fca4cadd627a57966de092feb6ea9ecb579437898d04ebad8"
)
# 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.18.0.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-x86_64-1.18.0.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-x86_64-1.18.0.tgz
/tmp/onnxruntime-osx-x86_64-1.18.0.tgz
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.18.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-x86_64-1.18.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-x86_64-1.18.1.tgz
/tmp/onnxruntime-osx-x86_64-1.18.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-wasm-simd.cmake
查看文件 @
1c104ea
...
...
@@ -10,19 +10,19 @@ if(BUILD_SHARED_LIBS)
message
(
FATAL_ERROR
"BUILD_SHARED_LIBS should be OFF for WebAssembly"
)
endif
()
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-wasm-static_lib-simd-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-wasm-static_lib-simd-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=590e8c8b292304e9c4ed34d980ce3fe028c76f2594e7f2d88cda80248757c6fb"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-wasm-static_lib-simd-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-wasm-static_lib-simd-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=1cc3c10cc8405aae59b7b2cc115d8ca5382fbf6e014c15ebafacd8b457b99f81"
)
# 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-wasm-static_lib-simd-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-wasm-static_lib-simd-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-wasm-static_lib-simd-1.18.0.zip
/tmp/onnxruntime-wasm-static_lib-simd-1.18.0.zip
/star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-wasm-static_lib-simd-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-wasm-static_lib-simd-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-wasm-static_lib-simd-1.18.1.zip
/tmp/onnxruntime-wasm-static_lib-simd-1.18.1.zip
/star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-arm64.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-win-arm64-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-win-arm64-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=cd8859437d71b43beb942e0f2515d27d20aa8f753b8e9c2efa01476eb1a57023"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-arm64-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-arm64-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=cba708b2e9e69f5c7f5ad899d9d2e503208936753f52194df50bb5b6275eff76"
)
# 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-arm64-1.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-arm64-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-arm64-1.18.0.zip
/tmp/onnxruntime-win-arm64-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-win-arm64-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-arm64-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-arm64-1.18.1.zip
/tmp/onnxruntime-win-arm64-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64-gpu.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-win-x64-gpu-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-win-x64-gpu-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=ec3b668fdc818b20dbabf083b488f979dce4a61c8b922af9e79e81277ac0e322"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-gpu-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-gpu-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=2ea6078d7dcaa1a979b73233a7ea62f56aa75ecefe4d015e9dc45cf1bce6b53a"
)
# 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.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-gpu-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-gpu-1.18.0.zip
/tmp/onnxruntime-win-x64-gpu-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-gpu-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-gpu-1.18.1.zip
/tmp/onnxruntime-win-x64-gpu-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64-static-debug.cmake
查看文件 @
1c104ea
...
...
@@ -15,14 +15,14 @@ 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://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2"
)
if
(
CMAKE_BUILD_TYPE STREQUAL Debug
)
set
(
onnxruntime_HASH
"SHA256=
1fbb751fcf5360466aeb4fdf0d919e891d3c7fcaf9cdda26bc82c5ff9d07b15c
"
)
set
(
onnxruntime_HASH
"SHA256=
01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo
)
set
(
onnxruntime_HASH
"SHA256=f
b59483e6e384ad6e48fe68f04716a9adef9a0106bcf2be74821a49c785be39e
"
)
set
(
onnxruntime_HASH
"SHA256=f
6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL MinSizeRel
)
set
(
onnxruntime_HASH
"SHA256=
4f2c818b1a31006d783aae929a2ad649af94797eea4dad61ab5044731daab2c9
"
)
set
(
onnxruntime_HASH
"SHA256=
f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41
"
)
else
()
message
(
FATAL_ERROR
"This file is for building a debug version on Windows x64. Given
${
CMAKE_BUILD_TYPE
}
"
)
endif
()
...
...
@@ -31,10 +31,10 @@ endif()
# 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_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
/tmp/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
$ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
/tmp/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64-static.cmake
查看文件 @
1c104ea
...
...
@@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release)
message
(
FATAL_ERROR
"This file is for building a release version on Windows x64"
)
endif
()
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x64-static_lib-1.18.0.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x64-static_lib-1.18.0.tar.bz2"
)
set
(
onnxruntime_HASH
"SHA256=dcbe48216fe0e5356ddd14e2f48fa1567bbb22792fe156c6252afb044178b2de"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2"
)
set
(
onnxruntime_HASH
"SHA256=b0e24b77552593227e843c9f8fcade5dff2615f85945ec5a3e7adb181bb1d24a"
)
# 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_lib-1.18.0.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-static_lib-1.18.0.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-static_lib-1.18.0.tar.bz2
/tmp/onnxruntime-win-x64-static_lib-1.18.0.tar.bz2
$ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2
/tmp/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-win-x64-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-win-x64-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=a91af21ca8f9bdfa5a1aac3fdd0591384b4e2866d41612925f1758d5522829e7"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=53fb7226fe3cf16001afd1eae79e35f891a20e80bd686185d62ea878e6f9b1a6"
)
# 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.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-1.18.0.zip
/tmp/onnxruntime-win-x64-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-win-x64-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-1.18.1.zip
/tmp/onnxruntime-win-x64-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x86-static-debug.cmake
查看文件 @
1c104ea
...
...
@@ -16,14 +16,14 @@ if(BUILD_SHARED_LIBS)
endif
()
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2"
)
if
(
CMAKE_BUILD_TYPE STREQUAL Debug
)
set
(
onnxruntime_HASH
"SHA256=0
ccb0820a14e54e5cdbb5125647c8c6f72c8bb1ed2324945b1db2a9f35030103
"
)
set
(
onnxruntime_HASH
"SHA256=0
1effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo
)
set
(
onnxruntime_HASH
"SHA256=
9740689365f611b48d25bb0a7521848a2ea4a5365c37e85766c6f7925e0ba887
"
)
set
(
onnxruntime_HASH
"SHA256=
f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL MinSizeRel
)
set
(
onnxruntime_HASH
"SHA256=
4b35849c452a717e9e4b88ea267beba92f4806cc29e7773dda07fa7a59897e12
"
)
set
(
onnxruntime_HASH
"SHA256=
f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41
"
)
else
()
message
(
FATAL_ERROR
"This file is for building a debug version on Windows x86. Given
${
CMAKE_BUILD_TYPE
}
"
)
endif
()
...
...
@@ -32,10 +32,10 @@ endif()
# 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_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
/tmp/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.0.tar.bz2
$ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
/tmp/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.18.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x86-static.cmake
查看文件 @
1c104ea
...
...
@@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release)
message
(
FATAL_ERROR
"This file is for building a release version on Windows x86"
)
endif
()
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x86-static_lib-1.18.0.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.0/onnxruntime-win-x86-static_lib-1.18.0.tar.bz2"
)
set
(
onnxruntime_HASH
"SHA256=895c9e284a0365732467fe19b018e3949c0755148fc386cf6d8f8e28f1a7ed80"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2"
)
set
(
onnxruntime_HASH
"SHA256=ee46b46079a5cc577177a2620e9b93a9ef7fdf3b3018eca6600f697157485a8a"
)
# 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_lib-1.18.0.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-static_lib-1.18.0.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-static_lib-1.18.0.tar.bz2
/tmp/onnxruntime-win-x86-static_lib-1.18.0.tar.bz2
$ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2
/tmp/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x86.cmake
查看文件 @
1c104ea
...
...
@@ -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.18.0/onnxruntime-win-x86-1.18.0.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-win-x86-1.18.0.zip"
)
set
(
onnxruntime_HASH
"SHA256=b71a6ea9f7fee248ce79dadab45cf522a44a74270c85f8e4ff1ca6ab6bcbae42"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=9e05fb69de8f324a11e869fd391f8c56919fd9d4b353a0acd9ffffcf4f8b4872"
)
# 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.18.0.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-1.18.0.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-1.18.0.zip
/tmp/onnxruntime-win-x86-1.18.0.zip
$ENV{HOME}/Downloads/onnxruntime-win-x86-1.18.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-1.18.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-1.18.1.zip
/tmp/onnxruntime-win-x86-1.18.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj
查看文件 @
1c104ea
...
...
@@ -57,7 +57,7 @@
C984A82729AA196100D74C52 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
C984A82929AA19AC00D74C52 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Model.swift; sourceTree = "<group>"; };
C984A83B29AA430B00D74C52 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
0
/onnxruntime.xcframework"; sourceTree = "<group>"; };
C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
1
/onnxruntime.xcframework"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj
查看文件 @
1c104ea
...
...
@@ -32,7 +32,7 @@
C9A2588D2AAF039D00E555CA /* Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extension.swift; sourceTree = "<group>"; };
C9A258922AAF057E00E555CA /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; };
C9A258952AAF05D100E555CA /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
0
/onnxruntime.xcframework"; sourceTree = "<group>"; };
C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
1
/onnxruntime.xcframework"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj
查看文件 @
1c104ea
...
...
@@ -74,7 +74,7 @@
DEBB2DA22BBAAAE700864EF5 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Model.swift; path = ../../SherpaOnnx/SherpaOnnx/Model.swift; sourceTree = "<group>"; };
DEBB2DA42BBAAAFD00864EF5 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; };
DEBB2DA72BBAAC4D00864EF5 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
0
/onnxruntime.xcframework"; sourceTree = "<group>"; };
DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
1
/onnxruntime.xcframework"; sourceTree = "<group>"; };
DEBB2DB12BBAAD0000864EF5 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; };
/* End PBXFileReference section */
...
...
ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj
查看文件 @
1c104ea
...
...
@@ -32,7 +32,7 @@
DE081AAE2ABFF35400E8CD63 /* UTType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UTType.swift; sourceTree = "<group>"; };
DE081AB02ABFFEEE00E8CD63 /* Document.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = "<group>"; };
DE081AB22ABFFF2600E8CD63 /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
0
/onnxruntime.xcframework"; sourceTree = "<group>"; };
DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
1
/onnxruntime.xcframework"; sourceTree = "<group>"; };
DE8C85A92ABF23FA00F667E3 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
DE8C85B12ABF257200F667E3 /* SpeechSegment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpeechSegment.swift; sourceTree = "<group>"; };
DEA657112ABF19730066A81D /* SherpaOnnxSubtitle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SherpaOnnxSubtitle.app; sourceTree = BUILT_PRODUCTS_DIR; };
...
...
ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj
查看文件 @
1c104ea
...
...
@@ -26,7 +26,7 @@
C9FE9FE42B0F33CD009F1003 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; };
C9FE9FE62B0F3620009F1003 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = "<group>"; };
C9FE9FE92B0F3754009F1003 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = "<group>"; };
C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
0
/onnxruntime.xcframework"; sourceTree = "<group>"; };
C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.
1
/onnxruntime.xcframework"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
scripts/dotnet/generate.py
查看文件 @
1c104ea
...
...
@@ -56,7 +56,7 @@ def process_linux(s, rid):
def
process_macos
(
s
,
rid
):
libs
=
[
"libonnxruntime.1.18.
0
.dylib"
,
"libonnxruntime.1.18.
1
.dylib"
,
"libsherpa-onnx-c-api.dylib"
,
]
prefix
=
f
"{src_dir}/macos-{rid}/"
...
...
scripts/go/release.sh
查看文件 @
1c104ea
...
...
@@ -90,7 +90,7 @@ function osx() {
cp -v sherpa_onnx/lib/
*
.dylib
$dst
/
pushd
$dst
cp -v libonnxruntime.1.18.
0
.dylib libonnxruntime.dylib
cp -v libonnxruntime.1.18.
1
.dylib libonnxruntime.dylib
popd
cd
..
...
...
@@ -108,7 +108,7 @@ function osx() {
cp -v sherpa_onnx/lib/
*
.dylib
$dst
/
pushd
$dst
cp -v libonnxruntime.1.18.
0
.dylib libonnxruntime.dylib
cp -v libonnxruntime.1.18.
1
.dylib libonnxruntime.dylib
popd
cd
..
...
...
请
注册
或
登录
后发表评论