Skip to content

Commit

Permalink
py: fix archs for wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
janden committed Sep 3, 2024
1 parent ae63ee4 commit 0f0b304
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/finufft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ build-verbosity = 1
skip = "pp* *musllinux*"
test-requires = ["pytest", "pytest-mock"]
test-command = "pytest {project}/python/finufft/test"
config-settings = {"cmake.define.FINUFFT_ARCH_FLAGS" = "", "cmake.define.CMAKE_VERBOSE_MAKEFILE" = "ON"}
config-settings = {"cmake.define.FINUFFT_ARCH_FLAGS" = "-march=x86_64", "cmake.define.CMAKE_VERBOSE_MAKEFILE" = "ON"}

[tool.cibuildwheel.linux]
archs = "x86_64"
Expand All @@ -72,3 +72,7 @@ before-build = "pip install delvewheel"
# CIBW doesn't do vendoring of DLLs on Windows by default, so we have to
# install delvewheel and run it.
repair-wheel-command = "delvewheel repair -v --analyze-existing -w {dest_dir} {wheel}"

[[tool.cibuildwheel.overrides]]
select = "*arm64*"
config-settings = {"cmake.define.FINUFFT_ARCH_FLAGS" = "-march=arm64"}

0 comments on commit 0f0b304

Please sign in to comment.