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-08-15 18:16:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-08-15 18:16:42 +0800
Commit
97a6a2a16ad7b7a931ea6bf954d067b29f752769
97a6a2a1
1 parent
ca729fae
Enable IPO only for Release build. (#1261)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
CMakeLists.txt
CMakeLists.txt
查看文件 @
97a6a2a
...
...
@@ -149,7 +149,7 @@ if(BUILD_SHARED_LIBS)
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON
)
endif
()
if
(
BUILD_SHARED_LIBS AND NOT CMAKE_SYSTEM_NAME STREQUAL iOS
)
if
(
BUILD_SHARED_LIBS AND NOT CMAKE_SYSTEM_NAME STREQUAL iOS
AND CMAKE_BUILD_TYPE STREQUAL Release
)
# Don't use LTO for iOS since it causes the following error
# error: unable to find any architecture information in the binary
# at '/Users/fangjun/open-source/sherpa-onnx/build-ios/build/os64/sherpa-onnx.a':
...
...
请
注册
或
登录
后发表评论