Skip to content

Commit 2ac27d3

Browse files
committed
add flags for fortran on macos universal2 builds
1 parent f7c139e commit 2ac27d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/buildwheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: delvewheel repair -w {dest_dir} {wheel}
6767
CIBW_ARCHS_MACOS: "universal2"
6868
CIBW_BEFORE_BUILD_MACOS: brew reinstall gcc
69-
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=`sw_vers -productVersion` SYSTEM_VERSION_COMPAT=0
69+
CIBW_ENVIRONMENT_MACOS: CMAKE_ARGS="-DCMAKE_Fortran_FLAGS='-arch arm64 -arch x86_64'" MACOSX_DEPLOYMENT_TARGET=`sw_vers -productVersion` SYSTEM_VERSION_COMPAT=0
7070
CIBW_TEST_REQUIRES: pytest pytest-order
7171
CIBW_TEST_COMMAND: pytest -v -s -We -p no:unraisableexception {package}/tests
7272
run: python -m cibuildwheel --output-dir dist

0 commit comments

Comments
 (0)