From 258e82a5f036a9b212d8fe0ad62974e133f1fdfa Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Wed, 13 Nov 2024 18:09:10 -0500 Subject: [PATCH] upgrade MACOSX_DEPLOYMENT_TARGET to 13 for python wheel ci --- .github/workflows/python_build_wheels.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python_build_wheels.yml b/.github/workflows/python_build_wheels.yml index 455764213..e6a1f1518 100644 --- a/.github/workflows/python_build_wheels.yml +++ b/.github/workflows/python_build_wheels.yml @@ -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 @@ -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: @@ -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: