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

可否增加macos-arm64的libsimple.dylib? #144

Open
springrain opened this issue Apr 1, 2024 · 6 comments
Open

可否增加macos-arm64的libsimple.dylib? #144

springrain opened this issue Apr 1, 2024 · 6 comments

Comments

@springrain
Copy link

springrain commented Apr 1, 2024

可否增加macos-arm64的libsimple.dylib?

@springrain springrain changed the title 可否增加macos-aarch64的libsimple.dylib? 可否增加macos-arm64的libsimple.dylib? Apr 1, 2024
@wangfenjin
Copy link
Owner

你是说苹果自己家的 CPU 用是吗?我最近没时间研究怎么在 github 弄这个。你应该很容易拿苹果的机器编译一个

@springrain
Copy link
Author

你是说苹果自己家的 CPU 用是吗?我最近没时间研究怎么在 github 弄这个。你应该很容易拿苹果的机器编译一个

是的,编译出来的有兼容性问题,不知道github Actions 能不能编译出来

@springrain
Copy link
Author

感觉还是把源码和SQLite合并到一起,一起编译比较稳点

@wangfenjin
Copy link
Owner

什么兼容性问题

@springrain
Copy link
Author

什么兼容性问题

比如在mac系统上,主程序兼容给,加载dylib库就异常了

@wangfenjin
Copy link
Owner

https://stackoverflow.com/a/65811061/1203241

set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "")

看起来现在编译的就是支持 arm 和 x86 的。你可以把报错信息发出来

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

2 participants