
现在使用 cython 编译后只能在 Apple Silicon 芯片上运行,我想编译 universal2 的,但是发现安装了 x86 的 python 环境也没用,还需要 x86 的 xcode ,人都麻了,有其他解决方案吗?
1 necomancer 2024-08-28 23:53:53 +08:00 arch -x86_64 zsh 环境下用 anaconda x86 那个环境呢? |
2 ciki OP @necomancer #1 不行,会用到 xcode 里面的 clang ,那个还是 arm 的 |
3 necomancer 2024-08-29 10:46:08 +08:00 我用的 macmini 没在手边……我看到这么个解决方案,搞 x86 的 brew ,然后那个 brew 安装 gcc 啥的? https://stackoverflow.com/questions/64882584/how-to-run-the-homebrew-installer-under-rosetta-2-on-m1-macbook |
4 noahlias 2024-08-31 09:22:31 +08:00 用 github action 这种多端发布 让正经的 ci 来操作吧 |