Skip to content

Commit

Permalink
Downgrade to gcc 12
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed May 15, 2024
1 parent b47c034 commit 4809a31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
id: setup-fortran
with:
compiler: gcc
version: 13
version: 12

- name: Install SuiteSparse and SUNDIALS on macOS
run: |
Expand All @@ -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()"
Expand Down

0 comments on commit 4809a31

Please sign in to comment.