Skip to content

Commit d2d163f

Browse files
committed
Both macOS runners (macos-13 and macos-14) now
use x86_64 architecture, which eliminates the cross-compilation issues that were causing OpenMP linking failures.
1 parent 7a7bc00 commit d2d163f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150

151151
# Platform-specific build commands with broad CUDA compatibility
152152
CIBW_BEFORE_BUILD_MACOS: "python build_scripts/prepare_wheel.py --buildmode release --nogpu --verbose"
153-
CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=${{ matrix.arch == 'x86_64' && '13.0' || '14.0' }}"
153+
CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=${{ matrix.arch == 'x86_64' && '13.0' || '14.0' }} CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }}"
154154
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"
155155
CIBW_BEFORE_BUILD_LINUX: "yum install -y zlib-devel && export PYHELIOS_CUDA_ARCHITECTURES='50;60;70;75;80;86;90' && python build_scripts/prepare_wheel.py --buildmode release --verbose"
156156

0 commit comments

Comments
 (0)