Skip to content

Commit f53cf7b

Browse files
committed
This fix uses architecture-specific deployment targets:
- macOS 13 (x86_64): MACOSX_DEPLOYMENT_TARGET=13.0 - Compatible with the x86_64 Homebrew libraries - macOS 14 (arm64): MACOSX_DEPLOYMENT_TARGET=14.0 - Matches the minimum target of arm64 Homebrew libraries
1 parent 490a90a commit f53cf7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ jobs:
147147
# Architecture configuration based on runner
148148
CIBW_ARCHS: ${{ matrix.arch }}
149149

150-
# Platform-specific build commands with broad CUDA compatibility
150+
# Platform-specific build commands with broad CUDA compatibility
151151
CIBW_BEFORE_BUILD_MACOS: "python build_scripts/prepare_wheel.py --buildmode release --nogpu --verbose"
152-
CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=13.0"
152+
CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=${{ matrix.arch == 'x86_64' && '13.0' || '14.0' }}"
153153
CIBW_BEFORE_BUILD_WINDOWS: "set CMAKE_RC_COMPILER= && set PYHELIOS_CUDA_ARCHITECTURES=50;60;70;75;80;86;90 && python build_scripts/prepare_wheel.py --buildmode release --verbose"
154154
CIBW_BEFORE_BUILD_LINUX: "export PYHELIOS_CUDA_ARCHITECTURES=50;60;70;75;80;86;90 && python build_scripts/prepare_wheel.py --buildmode release --verbose"
155155

0 commit comments

Comments
 (0)