Skip to content

Commit

Permalink
Revert "Do not compile Python wheels with -march=native (#538)"
Browse files Browse the repository at this point in the history
This reverts commit 897b226.
  • Loading branch information
DiamonDinoia authored Aug 27, 2024
1 parent 0e9f569 commit 29db7e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions python/cufinufft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ build-dir = "build/{wheel_tag}"
# Tell skbuild to look for the CMakeLists.txt file two directories up.
cmake.source-dir = "../../"
cmake.targets = ["cufinufft"]
cmake.define.FINUFFT_BUILD_PYTHON = "ON"
cmake.define.FINUFFT_USE_CUDA = "ON"
cmake.define.FINUFFT_USE_CPU = "OFF"
cmake.define.FINUFFT_ARCH_FLAGS = "" # Disable -march=native (default)
cmake.define = {"FINUFFT_BUILD_PYTHON" = "ON", "FINUFFT_USE_CUDA" = "ON", "FINUFFT_USE_CPU" = "OFF"}

wheel.packages = ["cufinufft"]

Expand Down
3 changes: 1 addition & 2 deletions python/finufft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ build-dir = "build/{wheel_tag}"
# Tell skbuild to look for the CMakeLists.txt file two directories up.
cmake.source-dir = "../../"
cmake.targets = ["finufft"]
cmake.define.FINUFFT_BUILD_PYTHON = "ON"
cmake.define.FINUFFT_ARCH_FLAGS = "" # Disable -march=native (default)
cmake.define = {"FINUFFT_BUILD_PYTHON" = "ON"}

wheel.packages = ["finufft"]

Expand Down

0 comments on commit 29db7e4

Please sign in to comment.