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-15 14:24:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-07-15 14:24:08 +0800
Commit
c35200dccfd754b86fa04adbc4a5395267bfd469
c35200dc
1 parent
04c2319c
Revert to onnxruntime 1.17.1 (#1131)
隐藏空白字符变更
内嵌
并排对比
正在显示
50 个修改的文件
包含
204 行增加
和
199 行删除
.github/workflows/test-go.yaml
CHANGELOG.md
CMakeLists.txt
build-android-arm64-v8a.sh
build-android-armv7-eabi.sh
build-android-x86-64.sh
build-android-x86.sh
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
dart-api-examples/non-streaming-asr/pubspec.yaml
dart-api-examples/streaming-asr/pubspec.yaml
dart-api-examples/tts/pubspec.yaml
dart-api-examples/vad/pubspec.yaml
flutter-examples/streaming_asr/pubspec.yaml
flutter-examples/tts/pubspec.yaml
flutter/sherpa_onnx/pubspec.yaml
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
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
nodejs-addon-examples/package.json
scripts/dart/sherpa-onnx-pubspec.yaml
scripts/dotnet/generate.py
scripts/go/release.sh
.github/workflows/test-go.yaml
查看文件 @
c35200d
...
...
@@ -116,7 +116,7 @@ jobs:
rm ./lib/*.a
rm ./lib/libonnxruntime.dylib
cd lib
ln -s libonnxruntime.1.1
8
.1.dylib libonnxruntime.dylib
ln -s libonnxruntime.1.1
7
.1.dylib libonnxruntime.dylib
cd ..
fi
...
...
CHANGELOG.md
查看文件 @
c35200d
## 1.10.15
*
Downgrade onnxruntime from v1.18.1 to v1.17.1
## 1.10.14
*
Support whisper large v3
...
...
CMakeLists.txt
查看文件 @
c35200d
...
...
@@ -11,7 +11,7 @@ project(sherpa-onnx)
# ./nodejs-addon-examples
# ./dart-api-examples/
# ./CHANGELOG.md
set
(
SHERPA_ONNX_VERSION
"1.10.1
4
"
)
set
(
SHERPA_ONNX_VERSION
"1.10.1
5
"
)
# Disable warning about
#
...
...
build-android-arm64-v8a.sh
查看文件 @
c35200d
...
...
@@ -42,7 +42,7 @@ fi
echo
"ANDROID_NDK:
$ANDROID_NDK
"
sleep 1
onnxruntime_version
=
1.1
8.0
onnxruntime_version
=
1.1
7.1
if
[
! -f
$onnxruntime_version
/jni/arm64-v8a/libonnxruntime.so
]
;
then
mkdir -p
$onnxruntime_version
...
...
build-android-armv7-eabi.sh
查看文件 @
c35200d
...
...
@@ -43,7 +43,7 @@ fi
echo
"ANDROID_NDK:
$ANDROID_NDK
"
sleep 1
onnxruntime_version
=
1.1
8.0
onnxruntime_version
=
1.1
7.1
if
[
! -f
$onnxruntime_version
/jni/armeabi-v7a/libonnxruntime.so
]
;
then
mkdir -p
$onnxruntime_version
...
...
build-android-x86-64.sh
查看文件 @
c35200d
...
...
@@ -43,7 +43,7 @@ fi
echo
"ANDROID_NDK:
$ANDROID_NDK
"
sleep 1
onnxruntime_version
=
1.1
8.0
onnxruntime_version
=
1.1
7.1
if
[
! -f
$onnxruntime_version
/jni/x86_64/libonnxruntime.so
]
;
then
mkdir -p
$onnxruntime_version
...
...
build-android-x86.sh
查看文件 @
c35200d
...
...
@@ -43,7 +43,7 @@ fi
echo
"ANDROID_NDK:
$ANDROID_NDK
"
sleep 1
onnxruntime_version
=
1.1
8.0
onnxruntime_version
=
1.1
7.1
if
[
! -f
$onnxruntime_version
/jni/x86/libonnxruntime.so
]
;
then
mkdir -p
$onnxruntime_version
...
...
build-ios-no-tts.sh
查看文件 @
c35200d
...
...
@@ -5,7 +5,7 @@ set -e
dir
=
build-ios-no-tts
mkdir -p
$dir
cd
$dir
onnxruntime_version
=
1.1
8
.1
onnxruntime_version
=
1.1
7
.1
onnxruntime_dir
=
ios-onnxruntime/
$onnxruntime_version
if
[
! -f
$onnxruntime_dir
/onnxruntime.xcframework/ios-arm64/onnxruntime.a
]
;
then
...
...
build-ios-shared.sh
查看文件 @
c35200d
...
...
@@ -10,7 +10,7 @@ set -e
dir
=
build-ios-shared
mkdir -p
$dir
cd
$dir
onnxruntime_version
=
1.1
8
.1
onnxruntime_version
=
1.1
7
.1
onnxruntime_dir
=
ios-onnxruntime/
$onnxruntime_version
SHERPA_ONNX_GITHUB
=
github.com
...
...
build-ios.sh
查看文件 @
c35200d
...
...
@@ -5,7 +5,7 @@ set -e
dir
=
build-ios
mkdir -p
$dir
cd
$dir
onnxruntime_version
=
1.1
8
.1
onnxruntime_version
=
1.1
7
.1
onnxruntime_dir
=
ios-onnxruntime/
$onnxruntime_version
SHERPA_ONNX_GITHUB
=
github.com
...
...
cmake/onnxruntime-linux-aarch64-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-static_lib-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-static_lib-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=831b9a3869501040b4399de85f34c4f170e2bcbd41881edaeb553f8dc4080985"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-aarch64-static_lib-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-aarch64-static_lib-1.17.1.zip
/tmp/onnxruntime-linux-aarch64-static_lib-1.17.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-aarch64.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip"
)
set
(
onnxruntime_HASH
"SHA256=6e0e68985f8dd1f643e5a4dbe7cd54c9e176a0cc62249c6bee0699b87fc6d4fb"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
/tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
/star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-arm-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-static_lib-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-static_lib-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=3f2ba38156d2facfb732c0fe53bc1eaaf2791d9a91dd240380e3d53716798b09"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-arm-static_lib-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-arm-static_lib-1.17.1.zip
/tmp/onnxruntime-linux-arm-static_lib-1.17.1.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-arm.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1-patched.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1-patched.zip"
)
set
(
onnxruntime_HASH
"SHA256=4ec00f7adc7341c068babea3d0f607349655e598222d4212115ae4f52619efdb"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-arm-1.17.1-patched.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-arm-1.17.1-patched.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-arm-1.17.1-patched.zip
/tmp/onnxruntime-linux-arm-1.17.1-patched.zip
/star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.1-patched.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-x86_64-gpu.cmake
查看文件 @
c35200d
...
...
@@ -18,19 +18,20 @@ 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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip"
)
set
(
onnxruntime_HASH
"SHA256=1261de176e8d9d4d2019f8fa8c732c6d11494f3c6e73168ab6d2cc0903f22551"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
/tmp/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.17.1-patched.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-x86_64-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip"
)
set
(
onnxruntime_HASH
"SHA256=b646beeb983de843a267096d4457d832f93089f5e7264fd54b48cff207cb2068"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
/tmp/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-linux-x86_64.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip"
)
set
(
onnxruntime_HASH
"SHA256=cb90c51a195bdd453aaf1582f3ef63b466dafbb15c4b8a552ca4dce3769e1d1e"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
/tmp/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
/star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-arm64-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=b88a4017251c159fea005aefe836bd0cf4d0bc7454e2810784f84a42143f17eb"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-arm64-static_lib-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-arm64-static_lib-1.17.1.zip
/tmp/onnxruntime-osx-arm64-static_lib-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-arm64.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=89566f424624a7ad9a7d9d5e413c44b9639a994d7171cf409901d125b16e2bb3"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.17.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-arm64-1.17.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-arm64-1.17.1.tgz
/tmp/onnxruntime-osx-arm64-1.17.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-universal-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=45599dbd2fb9dd52d6505930c0e82ca165391e222a68f5606b9ea9d4f3922e15"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-universal2-static_lib-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-universal2-static_lib-1.17.1.zip
/tmp/onnxruntime-osx-universal2-static_lib-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-universal.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=9fa57fa6f202a373599377ef75064ae568fda8da838632b26a86024c7378d306"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.17.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-universal2-1.17.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-universal2-1.17.1.tgz
/tmp/onnxruntime-osx-universal2-1.17.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-x86_64-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=5ff8efb97e50e257943c6c588328d2c57b649278098d3b468036f02755b60903"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
/tmp/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-osx-x86_64.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz"
)
set
(
onnxruntime_HASH
"SHA256=86c6b6896434084ff5086eebc4e9ea90be1ed4d46743f92864f46ee43e7b5059"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.17.1.tgz
${
CMAKE_SOURCE_DIR
}
/onnxruntime-osx-x86_64-1.17.1.tgz
${
CMAKE_BINARY_DIR
}
/onnxruntime-osx-x86_64-1.17.1.tgz
/tmp/onnxruntime-osx-x86_64-1.17.1.tgz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-wasm-simd.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-wasm-static_lib-simd-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-wasm-static_lib-simd-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=8f07778e4233cf5a61a9d0795d90c5497177fbe8a46b701fda2d8d4e2b11cef8"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-wasm-static_lib-simd-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-wasm-static_lib-simd-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-wasm-static_lib-simd-1.17.1.zip
/tmp/onnxruntime-wasm-static_lib-simd-1.17.1.zip
/star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-arm64.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-arm64-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-arm64-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=47782cebcab0fd7a1f0a3f0676b088c1bc0f4fbf21666f6fe57570dc362fa5a8"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-win-arm64-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-arm64-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-arm64-1.17.1.zip
/tmp/onnxruntime-win-arm64-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64-gpu.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=b7a66f50ad146c2ccb43471d2d3b5ad78084c2d4ddbd3ea82d65f86c867408b2"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-gpu-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-gpu-1.17.1.zip
/tmp/onnxruntime-win-x64-gpu-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64-static-debug.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2"
)
if
(
CMAKE_BUILD_TYPE STREQUAL Debug
)
set
(
onnxruntime_HASH
"SHA256=
01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144
"
)
set
(
onnxruntime_HASH
"SHA256=
ecc68d914541c3b6ebc36148af63fe2a6af0f4f955b35199d612698d23169fa5
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo
)
set
(
onnxruntime_HASH
"SHA256=
f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b
"
)
set
(
onnxruntime_HASH
"SHA256=
7cbe58273e55d033568f84fb16d220cea4e25ec29eb7db405c4ac7b6e41f2dfa
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL MinSizeRel
)
set
(
onnxruntime_HASH
"SHA256=
f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41
"
)
set
(
onnxruntime_HASH
"SHA256=
9eb3adf0f6ac3b0e9f118e0d9e686f50fc651394e0b0cc569275af6e3ffed0e0
"
)
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.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
$ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
/tmp/onnxruntime-win-x64-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2"
)
set
(
onnxruntime_HASH
"SHA256=42a0c02fda945d1d72433b2a7cdb2187d51cb4d7f3af462c6ae07b25314d5fb3"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2
/tmp/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x64.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=4802af9598db02153d7da39432a48823ff69b2fb4b59155461937f20782aa91c"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-win-x64-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x64-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x64-1.17.1.zip
/tmp/onnxruntime-win-x64-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x86-static-debug.cmake
查看文件 @
c35200d
...
...
@@ -16,14 +16,14 @@ if(BUILD_SHARED_LIBS)
endif
()
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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2"
)
if
(
CMAKE_BUILD_TYPE STREQUAL Debug
)
set
(
onnxruntime_HASH
"SHA256=
01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb63909314
4"
)
set
(
onnxruntime_HASH
"SHA256=
b08b223fe09a5640472eec487ff42e4df6bf726e8aba9de40f443a1fabea333
4"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo
)
set
(
onnxruntime_HASH
"SHA256=
f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b
"
)
set
(
onnxruntime_HASH
"SHA256=
215c68d4cf07fab47434059544f4b3e1885bb68149fc7ce5b78a9feb08cf6baa
"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL MinSizeRel
)
set
(
onnxruntime_HASH
"SHA256=
f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41
"
)
set
(
onnxruntime_HASH
"SHA256=
af6ff6f6a7ca6fb9f037bdd1cbd9b973921d069f7fce69833627ce04674bf579
"
)
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.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
$ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
/tmp/onnxruntime-win-x86-static_lib-
${
CMAKE_BUILD_TYPE
}
-1.17.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x86-static.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2"
)
set
(
onnxruntime_HASH
"SHA256=52375d3fabc7b437c955a664bfeb9cb7a6391f5219c4b7d3b87ff690416d4b9e"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2
/tmp/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
cmake/onnxruntime-win-x86.cmake
查看文件 @
c35200d
...
...
@@ -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.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"
)
set
(
onnxruntime_URL
"https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x86-1.17.1.zip"
)
set
(
onnxruntime_URL2
"https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x86-1.17.1.zip"
)
set
(
onnxruntime_HASH
"SHA256=9404130825474bd36b2538ed925d6b5f2cf1fb6a443f3e125054ae3470019291"
)
# 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.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
$ENV{HOME}/Downloads/onnxruntime-win-x86-1.17.1.zip
${
CMAKE_SOURCE_DIR
}
/onnxruntime-win-x86-1.17.1.zip
${
CMAKE_BINARY_DIR
}
/onnxruntime-win-x86-1.17.1.zip
/tmp/onnxruntime-win-x86-1.17.1.zip
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
dart-api-examples/non-streaming-asr/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies
:
sherpa_onnx
:
^1.10.1
4
sherpa_onnx
:
^1.10.1
5
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/streaming-asr/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here.
dependencies
:
sherpa_onnx
:
^1.10.1
4
sherpa_onnx
:
^1.10.1
5
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/tts/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -8,7 +8,7 @@ environment:
# Add regular dependencies here.
dependencies
:
sherpa_onnx
:
^1.10.1
4
sherpa_onnx
:
^1.10.1
5
path
:
^1.9.0
args
:
^2.5.0
...
...
dart-api-examples/vad/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -9,7 +9,7 @@ environment:
sdk
:
^3.4.0
dependencies
:
sherpa_onnx
:
^1.10.1
4
sherpa_onnx
:
^1.10.1
5
path
:
^1.9.0
args
:
^2.5.0
...
...
flutter-examples/streaming_asr/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -30,7 +30,7 @@ dependencies:
record
:
^5.1.0
url_launcher
:
^6.2.6
sherpa_onnx
:
^1.10.1
4
sherpa_onnx
:
^1.10.1
5
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
...
...
flutter-examples/tts/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -17,7 +17,7 @@ dependencies:
cupertino_icons
:
^1.0.6
path_provider
:
^2.1.3
path
:
^1.9.0
sherpa_onnx
:
^1.10.1
4
sherpa_onnx
:
^1.10.1
5
url_launcher
:
^6.2.6
audioplayers
:
^5.0.0
...
...
flutter/sherpa_onnx/pubspec.yaml
查看文件 @
c35200d
...
...
@@ -17,7 +17,7 @@ topics:
-
voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
version
:
1.10.1
4
version
:
1.10.1
5
homepage
:
https://github.com/k2-fsa/sherpa-onnx
...
...
@@ -30,19 +30,19 @@ dependencies:
flutter
:
sdk
:
flutter
sherpa_onnx_android
:
^1.10.1
4
sherpa_onnx_android
:
^1.10.1
5
# path
:
../sherpa_onnx_android
sherpa_onnx_macos
:
^1.10.1
4
sherpa_onnx_macos
:
^1.10.1
5
# path
:
../sherpa_onnx_macos
sherpa_onnx_linux
:
^1.10.1
4
sherpa_onnx_linux
:
^1.10.1
5
# path
:
../sherpa_onnx_linux
#
sherpa_onnx_windows
:
^1.10.1
4
sherpa_onnx_windows
:
^1.10.1
5
# path
:
../sherpa_onnx_windows
sherpa_onnx_ios
:
^1.10.1
4
sherpa_onnx_ios
:
^1.10.1
5
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
...
...
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
查看文件 @
c35200d
...
...
@@ -7,7 +7,7 @@
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'sherpa_onnx_ios'
s
.
version
=
'1.10.1
4
'
s
.
version
=
'1.10.1
5
'
s
.
summary
=
'A new Flutter FFI plugin project.'
s
.
description
=
<<-
DESC
A new Flutter FFI plugin project.
...
...
flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
查看文件 @
c35200d
...
...
@@ -4,7 +4,7 @@
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'sherpa_onnx_macos'
s
.
version
=
'1.10.1
4
'
s
.
version
=
'1.10.1
5
'
s
.
summary
=
'sherpa-onnx Flutter FFI plugin project.'
s
.
description
=
<<-
DESC
sherpa-onnx Flutter FFI plugin project.
...
...
ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj
查看文件 @
c35200d
...
...
@@ -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.1
8
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.1
7
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj
查看文件 @
c35200d
...
...
@@ -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.1
8
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.1
7
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj
查看文件 @
c35200d
...
...
@@ -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.1
8
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.1
7
.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
查看文件 @
c35200d
...
...
@@ -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.1
8
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.1
7
.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
查看文件 @
c35200d
...
...
@@ -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.1
8
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.1
7
.1/onnxruntime.xcframework"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
nodejs-addon-examples/package.json
查看文件 @
c35200d
{
"dependencies"
:
{
"sherpa-onnx-node"
:
"^1.10.1
4
"
"sherpa-onnx-node"
:
"^1.10.1
5
"
}
}
...
...
scripts/dart/sherpa-onnx-pubspec.yaml
查看文件 @
c35200d
...
...
@@ -17,7 +17,7 @@ topics:
-
voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx.podspec
version
:
1.10.1
4
version
:
1.10.1
5
homepage
:
https://github.com/k2-fsa/sherpa-onnx
...
...
scripts/dotnet/generate.py
查看文件 @
c35200d
...
...
@@ -56,7 +56,7 @@ def process_linux(s, rid):
def
process_macos
(
s
,
rid
):
libs
=
[
"libonnxruntime.1.1
8
.1.dylib"
,
"libonnxruntime.1.1
7
.1.dylib"
,
"libsherpa-onnx-c-api.dylib"
,
]
prefix
=
f
"{src_dir}/macos-{rid}/"
...
...
scripts/go/release.sh
查看文件 @
c35200d
...
...
@@ -90,7 +90,7 @@ function osx() {
cp -v sherpa_onnx/lib/
*
.dylib
$dst
/
pushd
$dst
cp -v libonnxruntime.1.1
8
.1.dylib libonnxruntime.dylib
cp -v libonnxruntime.1.1
7
.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.1
8
.1.dylib libonnxruntime.dylib
cp -v libonnxruntime.1.1
7
.1.dylib libonnxruntime.dylib
popd
cd
..
...
...
请
注册
或
登录
后发表评论