Skip to content

Commit d4631d7

Browse files
committed
ci: specify archs explicitly for macOS
1 parent 53fc7ba commit d4631d7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/python_build_wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
package-dir: 'python/finufft'
2020
env:
2121
CIBW_BEFORE_ALL_MACOS: brew install gcc@14 fftw
22+
CIBW_ARCHS_MACOS: "x86_64"
2223
# Need following versions of GCC for compatibility with fftw
2324
# installed by homebrew. Similarly, we set the macOS version
2425
# for compatibility with those libraries.
@@ -44,6 +45,7 @@ jobs:
4445
with:
4546
package-dir: 'python/finufft'
4647
env:
48+
CIBW_ARCHS_MACOS: "arm64"
4749
# Make sure to install the ARM64-specific versions of FFTW and GCC.
4850
# Perhaps this is done automatically on the macos-14 image. We should
4951
# look into this further.

python/finufft/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ test-command = "pytest {project}/python/finufft/test"
6363
archs = "x86_64"
6464
before-all = "yum install -y fftw3-devel"
6565

66-
[tool.cibuildwheel.macos]
67-
archs = ["x86_64", "arm64"]
68-
6966
[tool.cibuildwheel.windows]
7067
archs = "AMD64"
7168
before-build = "pip install delvewheel"

0 commit comments

Comments
 (0)