Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM Linux 上如何编出带有neon支持的库 #28

Closed
wonderzy opened this issue Jul 25, 2017 · 6 comments
Closed

ARM Linux 上如何编出带有neon支持的库 #28

wonderzy opened this issue Jul 25, 2017 · 6 comments

Comments

@wonderzy
Copy link

我在linux上make出来的静态库,默认是x86的,conv层也是conv_x86, 请问我需要怎样才能在Linux上编出带neon支持的库?

@nihui
Copy link
Member

nihui commented Jul 25, 2017

cmake 里头暂时只对 android 和 ios 开了 neon,要自己改下那边的判断。。

@wonderzy
Copy link
Author

请问需要在哪边改?

@nihui
Copy link
Member

nihui commented Jul 25, 2017

src/CMakeLists.txt 37行这里,加上对应的 system 和 arch 条件
ugly 一点就直接 TRUE 应该也可以 ...

@wonderzy
Copy link
Author

万分感谢

@ctgushiwei
Copy link

@wonderzy 请问比编译出来带neon支持的库了吗?怎么解决的,我在src/CMakeLists.txt 37行这里,加上对应的 system 和 arch 条件一样没有效果

@wonderzy
Copy link
Author

那你就用ugly一点的写法咯 @ctgushiwei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants