From 4809a31b9f8cb5678541a19fad7277b3879f534d Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Thu, 16 May 2024 02:25:22 +0530 Subject: [PATCH] Downgrade to gcc 12 --- .github/workflows/publish_pypi.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 09eed0f0af..0bb2f38449 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -116,7 +116,7 @@ jobs: id: setup-fortran with: compiler: gcc - version: 13 + version: 12 - name: Install SuiteSparse and SUNDIALS on macOS if: matrix.os == 'macos-12' @@ -170,7 +170,7 @@ jobs: id: setup-fortran with: compiler: gcc - version: 13 + version: 12 - name: Install SuiteSparse and SUNDIALS on macOS run: | @@ -180,6 +180,7 @@ jobs: - name: Build wheels on macOS arm64 run: python -m pipx run cibuildwheel --output-dir wheelhouse env: + MACOSX_DEPLOYMENT_TARGET: 11.1 CIBW_BEFORE_BUILD: python -m pip install cmake casadi setuptools wheel delocate CIBW_REPAIR_WHEEL_COMMAND: delocate-listdeps {wheel} && delocate-wheel -v -w {dest_dir} {wheel} CIBW_TEST_COMMAND: python -c "import pybamm; pybamm.IDAKLUSolver()"