Skip to content

Commit

Permalink
upgrade MACOSX_DEPLOYMENT_TARGET to 13 for python wheel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lu1and10 authored and janden committed Nov 19, 2024
1 parent a6edfba commit 258e82a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python_build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
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)
pkg=$(brew fetch --force --bottle-tag=ventura gcc | grep 'Downloaded to.*ventura.*' | cut -d' ' -f3)
brew install $pkg
pkg=$(brew fetch --force --bottle-tag=monterey fftw | grep 'Downloaded to' | cut -d' ' -f3)
pkg=$(brew fetch --force --bottle-tag=ventura fftw | grep 'Downloaded to.*ventura.*' | cut -d' ' -f3)
brew install $pkg
CIBW_ARCHS_MACOS: "x86_64"
# Need following versions of GCC for compatibility with fftw
Expand All @@ -33,7 +33,7 @@ jobs:
CIBW_ENVIRONMENT_MACOS: >
CC=gcc-14
CXX=g++-14
MACOSX_DEPLOYMENT_TARGET=12
MACOSX_DEPLOYMENT_TARGET=13
- uses: actions/upload-artifact@v4
with:
Expand All @@ -56,15 +56,15 @@ jobs:
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=arm64_monterey gcc | grep 'Downloaded to' | cut -d' ' -f3)
pkg=$(brew fetch --force --bottle-tag=arm64_ventura gcc | grep 'Downloaded to.*ventura.*' | cut -d' ' -f3)
brew install $pkg
pkg=$(brew fetch --force --bottle-tag=arm64_monterey fftw | grep 'Downloaded to' | cut -d' ' -f3)
pkg=$(brew fetch --force --bottle-tag=arm64_ventura fftw | grep 'Downloaded to.*ventura.*' | cut -d' ' -f3)
brew install $pkg
CIBW_ENVIRONMENT_MACOS: >
CC=gcc-14
CXX=g++-14
MACOSX_DEPLOYMENT_TARGET=12
MACOSX_DEPLOYMENT_TARGET=13
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 258e82a

Please sign in to comment.