fix: address macOS deployment target and pyzmq compilation issues
- Set MACOSX_DEPLOYMENT_TARGET=11.0 for macOS builds - Add pyzmq to test requirements to use pre-built wheels - Configure deployment target in both workflow and pyproject.toml - Skip ARM64 tests on GitHub Actions to avoid cross-compilation issues
This commit is contained in:
@@ -80,6 +80,8 @@ before-all = """
|
||||
# macOS系统依赖
|
||||
[tool.cibuildwheel.macos]
|
||||
before-all = "brew install boost zeromq openblas cmake libomp"
|
||||
# 设置macOS最小版本
|
||||
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0", CMAKE_OSX_DEPLOYMENT_TARGET = "11.0" }
|
||||
|
||||
# 环境变量配置
|
||||
[tool.cibuildwheel.environment]
|
||||
|
||||
Reference in New Issue
Block a user