Skip to content

Commit

Permalink
Merge pull request #595 from mmuetzel/ci-macos
Browse files Browse the repository at this point in the history
CI (macos): Work around conflict between pre-installed and Homebrew Python
  • Loading branch information
raback authored Oct 17, 2024
2 parents 479e766 + 115deef commit 74348ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-macos-homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,18 @@ jobs:
uses: actions/checkout@v4

- name: install dependencies

# Homebrew's Python conflicts with the Python that comes pre-installed
# on the GitHub runners. Some of the dependencies depend on different
# versions of Homebrew's Python. Enforce using the ones from Homebrew
# to avoid errors on updates.
# See: https://github.com/orgs/Homebrew/discussions/3928

# It looks like "gfortran" isn't working correctly unless "gcc" is
# re-installed.
run: |
brew update
brew install --overwrite [email protected] [email protected]
brew reinstall gcc
brew install \
cmake libomp openblas open-mpi suitesparse \
Expand Down

0 comments on commit 74348ff

Please sign in to comment.