-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
1,252 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,22 @@ jobs: | |
with: | ||
package-dir: 'python/finufft' | ||
env: | ||
CIBW_BEFORE_ALL_MACOS: brew install gcc@14 fftw | ||
CIBW_BEFORE_ALL_MACOS: | | ||
# In order to reinstall a version of GCC compatible with older versions of macOS, we need to first uninstall the existing version. | ||
brew uninstall gcc | ||
pkg=$(brew fetch --force --bottle-tag=monterey gcc | grep 'Downloaded to' | cut -d' ' -f3) | ||
brew install $pkg | ||
pkg=$(brew fetch --force --bottle-tag=monterey fftw | grep 'Downloaded to' | cut -d' ' -f3) | ||
brew install $pkg | ||
CIBW_ARCHS_MACOS: "x86_64" | ||
# Need following versions of GCC for compatibility with fftw | ||
# installed by homebrew. Similarly, we set the macOS version | ||
# for compatibility with those libraries. | ||
CIBW_ENVIRONMENT_MACOS: > | ||
CC=gcc-14 | ||
CXX=g++-14 | ||
MACOSX_DEPLOYMENT_TARGET=13 | ||
MACOSX_DEPLOYMENT_TARGET=12 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -46,18 +53,18 @@ jobs: | |
package-dir: 'python/finufft' | ||
env: | ||
CIBW_ARCHS_MACOS: "arm64" | ||
# Make sure to install the ARM64-specific versions of FFTW and GCC. | ||
# Perhaps this is done automatically on the macos-14 image. We should | ||
# look into this further. | ||
CIBW_BEFORE_ALL_MACOS: | | ||
pkg=$(brew fetch --force --bottle-tag=arm64_ventura fftw | grep 'Downloaded to' | cut -d' ' -f3) | ||
# In order to reinstall a version of GCC compatible with older versions of macOS, we need to first uninstall the existing version. | ||
brew uninstall gcc | ||
pkg=$(brew fetch --force --bottle-tag=arm64_monterey gcc | grep 'Downloaded to' | cut -d' ' -f3) | ||
brew install $pkg | ||
pkg=$(brew fetch --force --bottle-tag=arm64_ventura gcc | grep 'Downloaded to' | cut -d' ' -f3) | ||
pkg=$(brew fetch --force --bottle-tag=arm64_monterey fftw | grep 'Downloaded to' | cut -d' ' -f3) | ||
brew install $pkg | ||
CIBW_ENVIRONMENT_MACOS: > | ||
CC=gcc-14 | ||
CXX=g++-14 | ||
MACOSX_DEPLOYMENT_TARGET=14 | ||
MACOSX_DEPLOYMENT_TARGET=12 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -85,11 +92,6 @@ jobs: | |
uses: pypa/[email protected] | ||
with: | ||
package-dir: 'python/finufft' | ||
env: | ||
# 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: "cmake.args='-G Ninja'" | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.