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
2023-10-12 16:21:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-10-12 16:21:06 +0800
Commit
efd3cd3312f18262e6aaa2f83c011476b355679a
efd3cd33
1 parent
64795144
Fix pkg-config for linux (#358)
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
CMakeLists.txt
cmake/onnxruntime-linux-x86_64.cmake
CMakeLists.txt
查看文件 @
efd3cd3
...
...
@@ -188,7 +188,7 @@ if(NOT BUILD_SHARED_LIBS)
endif
()
if
(
UNIX AND NOT APPLE
)
set
(
SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS
"-lstdc++ -lm"
)
set
(
SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS
"-lstdc++ -lm
-pthread -ldl
"
)
endif
()
endif
()
...
...
cmake/onnxruntime-linux-x86_64.cmake
查看文件 @
efd3cd3
...
...
@@ -14,8 +14,8 @@ 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://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.16.0.tgz"
)
set
(
onnxruntime_URL2
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-1.16.0.tgz"
)
set
(
onnxruntime_URL
"https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.16.0/onnxruntime-linux-x64-1.16.0.tgz"
)
set
(
onnxruntime_URL2
"https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/onnxruntime-linux-x64-1.16.0.tgz"
)
set
(
onnxruntime_HASH
"SHA256=02bcd1e4fef295dacc3b232774efeaa0a83527f439f29147c3badade4df1f6dc"
)
# If you don't have access to the Internet,
...
...
请
注册
或
登录
后发表评论