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

目前不支持所有Apple Silicon设备 #11

Open
orbitchen opened this issue May 10, 2023 · 1 comment
Open

目前不支持所有Apple Silicon设备 #11

orbitchen opened this issue May 10, 2023 · 1 comment

Comments

@orbitchen
Copy link
Contributor

如果在使用m系列芯片的Mac设备上使用Moer lite,在编译时不会出现问题,但是在运行时会出现segmentation fault。
由于开发组手中没有Applec Silicon设备,暂时无法定位问题。
如果只有这样的设备可以使用,建议在虚拟机中运行Windows或者基于x86-64的Linux发行版:https://www.parallels.cn/products/desktop/

@MST19711
Copy link

MST19711 commented Apr 15, 2024

可以尝试使用arch -x86_64 zsh运行基于rosette2运行的i386 zsh,然后在i386 zsh中使用cmake生成目标体系结构为amd64的工程文件,这样编译之后会生成amd64的macOS可执行文件。该可执行文件可以用rosette2运行(无需特殊指令,直接运行就行)并链接框架提供的amd64 libembree3.3动态链接库从而正常运行。这种方案会损失一些性能。

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