-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
build: support mac m1 #1270
Comments
这个是要直接在 mac 上编译还是在 m1 上使用 docker 就可以了 |
如果是 m1 上用 docker 能编译 pika 的话,现在已经支持了 |
是期望M1 MAC环境里支持。这个改动会比较大,需要把epoll 替换为kqueue。这个feature 可以作为一个长期task |
@kernelai 那这个给我吧,我的电脑是m1 的mac,我看看这个怎么弄 |
我觉着可以尝试,但是不必要花费太多精力。这里的考虑是如果后期pika的网络库支持liburing或者libevent,这个工作不是必要的。 |
okk,我有多的时间就看看,主要还是弄功能支持还有 bug 修复这方面的 PR 吧。 |
不少代码是 linux specific 的,不仅仅是 kqueue。另外也有许多不规范的代码无法通过 clang 编译。 |
…Foundation#1372) * refactor: net multiplexer interface for epoll/kqueue/select * Feature: import kqueue and many fix for compile/run on MacOS (OpenAtomFoundation#1270)
…Foundation#1372) * refactor: net multiplexer interface for epoll/kqueue/select * Feature: import kqueue and many fix for compile/run on MacOS (OpenAtomFoundation#1270)
The text was updated successfully, but these errors were encountered: