From b5d0b39542457aff04b91b08ee2f747dab3c1a53 Mon Sep 17 00:00:00 2001 From: nightwnvol Date: Sat, 29 Jun 2024 11:02:30 +0200 Subject: [PATCH] ci: test reinstall gcc to satisfy MacOS 10.9 --- .github/workflows/build_wheels.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index d57fb25..1d9135b 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -122,6 +122,13 @@ jobs: run: | brew install pipx + - name: Reinstall gfortran to satisfy MacOS version requirements # NOTE: required only for x86_64 + if: startsWith(matrix.config.arch[0], 'x86_64') + env: + MACOSX_DEPLOYMENT_TARGET: ${{ matrix.config.arch[2] }} + run: | + brew reinstall gcc@11 + - name: Set up the configuration file run: | python3 setup_site.py openblas openblas ${{ github.workspace }}/OpenBLAS/lib ${{ github.workspace }}/OpenBLAS/include