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-05-24 14:48:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-05-24 14:48:04 +0800
Commit
86ccb860062de682532677f22a5795f88fde48fc
86ccb860
1 parent
b09fb7f5
fix building errors introduced by simple-sentencepiece (#915)
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
7 行增加
和
4 行删除
cmake/simple-sentencepiece.cmake
scripts/dotnet/generate.py
scripts/go/_internal/build_darwin_amd64.go
scripts/go/_internal/build_darwin_arm64.go
cmake/simple-sentencepiece.cmake
查看文件 @
86ccb86
function
(
download_simple_sentencepiece
)
include
(
FetchContent
)
set
(
simple-sentencepiece_URL
"https://github.com/pkufool/simple-sentencepiece/archive/refs/tags/v0.7.tar.gz"
)
set
(
simple-sentencepiece_URL2
"https://hub.nauu.cf/pkufool/simple-sentencepiece/archive/refs/tags/v0.7.tar.gz"
)
set
(
simple-sentencepiece_URL
"https://github.com/pkufool/simple-sentencepiece/archive/refs/tags/v0.7.tar.gz"
)
set
(
simple-sentencepiece_URL2
"https://hub.nuaa.cf/pkufool/simple-sentencepiece/archive/refs/tags/v0.7.tar.gz"
)
set
(
simple-sentencepiece_HASH
"SHA256=1748a822060a35baa9f6609f84efc8eb54dc0e74b9ece3d82367b7119fdc75af"
)
# If you don't have access to the Internet,
...
...
scripts/dotnet/generate.py
查看文件 @
86ccb86
...
...
@@ -40,6 +40,7 @@ def process_linux(s):
"libkaldi-decoder-core.so"
,
"libkaldi-native-fbank-core.so"
,
"libonnxruntime.so.1.17.1"
,
"libssentencepiece_core.so"
,
"libpiper_phonemize.so.1"
,
"libsherpa-onnx-c-api.so"
,
"libsherpa-onnx-core.so"
,
...
...
@@ -69,6 +70,7 @@ def process_macos(s):
"libkaldi-decoder-core.dylib"
,
"libkaldi-native-fbank-core.dylib"
,
"libonnxruntime.1.17.1.dylib"
,
"libssentencepiece_core.dylib"
,
"libpiper_phonemize.1.dylib"
,
"libsherpa-onnx-c-api.dylib"
,
"libsherpa-onnx-core.dylib"
,
...
...
@@ -98,6 +100,7 @@ def process_windows(s, rid):
"kaldi-decoder-core.dll"
,
"kaldi-native-fbank-core.dll"
,
"onnxruntime.dll"
,
"ssentencepiece_core.dll"
,
"piper_phonemize.dll"
,
"sherpa-onnx-c-api.dll"
,
"sherpa-onnx-core.dll"
,
...
...
scripts/go/_internal/build_darwin_amd64.go
查看文件 @
86ccb86
...
...
@@ -2,5 +2,5 @@
package
sherpa_onnx
// #cgo LDFLAGS: -L ${SRCDIR}/lib/x86_64-apple-darwin -lsherpa-onnx-c-api -lsherpa-onnx-core -lkaldi-native-fbank-core -lkaldi-decoder-core -lsherpa-onnx-kaldifst-core -lsherpa-onnx-fstfar -lsherpa-onnx-fst -lpiper_phonemize -lespeak-ng -lucd -lonnxruntime -Wl,-rpath,${SRCDIR}/lib/x86_64-apple-darwin
// #cgo LDFLAGS: -L ${SRCDIR}/lib/x86_64-apple-darwin -lsherpa-onnx-c-api -lsherpa-onnx-core -lkaldi-native-fbank-core -lkaldi-decoder-core -lsherpa-onnx-kaldifst-core -lsherpa-onnx-fstfar -lsherpa-onnx-fst -lpiper_phonemize -lespeak-ng -lucd -lonnxruntime -
lssentencepiece_core -
Wl,-rpath,${SRCDIR}/lib/x86_64-apple-darwin
import
"C"
...
...
scripts/go/_internal/build_darwin_arm64.go
查看文件 @
86ccb86
...
...
@@ -2,5 +2,5 @@
package
sherpa_onnx
// #cgo LDFLAGS: -L ${SRCDIR}/lib/aarch64-apple-darwin -lsherpa-onnx-c-api -lsherpa-onnx-core -lkaldi-native-fbank-core -lkaldi-decoder-core -lsherpa-onnx-kaldifst-core -lsherpa-onnx-fstfar -lsherpa-onnx-fst -lpiper_phonemize -lespeak-ng -lucd -lonnxruntime -Wl,-rpath,${SRCDIR}/lib/aarch64-apple-darwin
// #cgo LDFLAGS: -L ${SRCDIR}/lib/aarch64-apple-darwin -lsherpa-onnx-c-api -lsherpa-onnx-core -lkaldi-native-fbank-core -lkaldi-decoder-core -lsherpa-onnx-kaldifst-core -lsherpa-onnx-fstfar -lsherpa-onnx-fst -lpiper_phonemize -lespeak-ng -lucd -lonnxruntime -
lssentencepiece_core -
Wl,-rpath,${SRCDIR}/lib/aarch64-apple-darwin
import
"C"
...
...
请
注册
或
登录
后发表评论