Skip to content

Commit

Permalink
py: fix windows wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
janden committed Sep 3, 2024
1 parent f55783f commit b8ce413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python_build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
# This is required to force cmake to avoid using MSVC (the default).
# By setting the generator to Ninja, cmake will pick gcc (mingw64)
# as the compiler.
CIBW_CONFIG_SETTINGS_WINDOWS: "cmake.args='-G Ninja'"
#CIBW_CONFIG_SETTINGS_WINDOWS: "cmake.args='-G Ninja'"

- uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions python/finufft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ before-all = "yum install -y fftw3-devel"
[tool.cibuildwheel.windows]
archs = "AMD64"
before-build = "pip install delvewheel"
config-settings = {"cmake.define.FINUFFT_ARCH_FLAGS" = "-march=x86-64", "cmake.define.CMAKE_VERBOSE_MAKEFILE" = "ON", "cmake.args" = "-G Ninja"}
# 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}"
Expand Down

0 comments on commit b8ce413

Please sign in to comment.